/* Community V2: one feed, one filter row, one supporting rail. */
body[data-surface="community"] .app-content { max-width: 1120px; padding-top: 36px; }
body[data-surface="community"] .view-head { align-items: center; margin-bottom: 18px; padding-bottom: 17px; border-bottom: 1px solid var(--line-dark); }
body[data-surface="community"] .view-head h1 { font-size: 29px; }
body[data-surface="community"] .view-head p { max-width: 520px; }

.community-profile-overview { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 18px; padding: 18px 20px; color: #e3f1e9; background: var(--forest-deep); border-left: 4px solid var(--lime); }
.community-profile-person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.community-profile-avatar { position: relative; display: grid; width: 49px; height: 49px; flex: none; place-items: center; color: var(--forest-deep); background: var(--lime); border-radius: 50%; font: 19px var(--serif); font-weight: 800; }
.community-profile-avatar > span { position: absolute; right: -2px; bottom: -2px; display: grid; width: 17px; height: 17px; place-items: center; color: #fff; background: var(--green); border: 2px solid var(--forest-deep); border-radius: 50%; }
.community-profile-avatar svg { width: 10px; }
.community-profile-overview .eyebrow { color: #a9caba; }
.community-profile-overview h2 { display: flex; flex-wrap: wrap; gap: 7px; align-items: baseline; margin: 3px 0 4px; color: #fff; font-family: var(--serif); font-size: 18px; }
.community-profile-overview h2 small { color: var(--lime); font-family: var(--sans); font-size: 10px; font-weight: 800; }
.community-profile-overview p { max-width: 570px; margin: 0; color: #c4d9cd; font-size: 10px; line-height: 1.55; }
.community-profile-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 9px; }
.community-profile-stats span { display: inline-flex; align-items: baseline; gap: 4px; color: #b9d1c4; font-size: 9px; }
.community-profile-stats b { color: #fff; font: 12px var(--mono); }
.community-profile-actions { display: grid; justify-items: end; gap: 8px; flex: none; }
.community-profile-actions > span { display: inline-flex; align-items: center; gap: 5px; color: #a9c6b7; font-size: 9px; }
.community-profile-actions > span svg { width: 13px; }
.community-profile-actions .secondary-button { color: var(--forest-deep); background: var(--lime); border-color: var(--lime); }
.community-profile-actions .secondary-button:hover { background: #d0f369; }

/* Keep the community surface monochrome after the page-specific stylesheet loads. */
.community-profile-overview { color: #252525; background: #fff; border-color: #dededb; border-left-color: #151515; box-shadow: 0 5px 15px rgba(0,0,0,.03); }
.community-profile-avatar { color: #fff; background: #151515; }
.community-profile-avatar > span { color: #151515; background: #fff; border-color: #151515; }
.community-profile-overview .eyebrow { color: #666; }
.community-profile-overview h2 { color: #171717; }
.community-profile-overview h2 small { color: #555; }
.community-profile-overview p,.community-profile-stats span,.community-profile-actions > span { color: #707070; }
.community-profile-stats b { color: #171717; }
.community-profile-actions .secondary-button { color: #fff; background: #151515; border-color: #151515; }
.community-profile-actions .secondary-button:hover { background: #3a3a3a; border-color: #3a3a3a; }
.community-clean-toolbar,.community-v2-post,.community-clean-side { border-color: #dededb; box-shadow: 0 4px 13px rgba(0,0,0,.025); }
.community-v2-tabs button:hover { color: #151515; background: #f3f3f1; }
.community-v2-tabs button.active { color: #151515; background: #f1f1ef; box-shadow: inset 0 -3px 0 #151515; }
.community-v2-tabs button.active small { color: #151515; }
.community-v2-topic { color: #333; background: #e5e5e1; }
.community-v2-proof { color: #fff; background: #4a4a4a; }
.community-v2-post h2,.community-clean-side h2 { color: #171717; }
.community-v2-author > span { background: #3a3a3a; }
.community-media-play { color: #fff; background: #151515; }
.community-v2-copyright { color: #666; background: #f3f3f1; }
.community-clean-growth { background: #f7f7f5; }
.community-clean-metrics b { color: #222; }

/* Source of truth: the final community palette must remain at EOF. */
body[data-surface="community"] .view-head h1 { color: #24252a; }
body[data-surface="community"] .view-head .eyebrow { color: #85745a; }
body[data-surface="community"] .view-head p { color: #77797f; }
body[data-surface="community"] .view-head .primary-button { color: #fff; border-color: #24252a; background: #24252a; }
body[data-surface="community"] .view-head .primary-button:hover { border-color: #414248; background: #414248; }
body[data-surface="community"] .app-content::before { background: linear-gradient(154deg, #fbfbf9 0%, #f5f4f1 48%, #eeefeb 100%); border-bottom-color: rgba(213,211,204,.78); }
body[data-surface="community"] .app-content::after { background-image: linear-gradient(rgba(165,139,94,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(165,139,94,.035) 1px, transparent 1px), linear-gradient(103deg, transparent 20%, rgba(255,255,255,.6) 52%, transparent 78%); }
.community-social-shell { color: #292a2e; }
.community-social-identity { border-color: #dedfdd; border-left-color: #a58b5e; box-shadow: 0 11px 25px rgba(35,36,40,.055); }
.community-social-avatar { border-color: #ededeb; background: #4b4d53; }.community-social-avatar.mine { background: #28292e; }
.community-social-identity p strong,.community-social-identity-stats b { color: #292a2f; }.community-social-identity p span,.community-social-identity-stats button { color: #7e8086; }.community-social-identity-stats button:hover b { color: #8b724b; }
.community-social-profile-link { color: #595b61; border-color: #d9dad7; }.community-social-profile-link:hover { color: #fff; border-color: #34353a; background: #34353a; }
.community-social-search-input { color: #8d8f94; border-color: #dcddda; box-shadow: 0 4px 12px rgba(34,35,39,.025); }.community-social-search-input:hover { color: #5f626a; border-color: #bbb4a7; }.community-social-search-input svg,.community-social-message { color: #90774e; }.community-social-message { border-color: #dcddda; }.community-social-message:hover { color: #fff; border-color: #34353a; background: #34353a; }.community-social-message em { border-color: #f5f5f2; background: #9b8155; }
.community-social-tabs { border-bottom-color: #dfdfdc; }.community-social-tabs button { color: #777a81; }.community-social-tabs button:hover { color: #34353a; background: #f0f0ed; }.community-social-tabs button.active { color: #2e3035; border-bottom-color: #9b8155; }
.community-social-feed-label span { color: #303137; }.community-social-feed-label small { color: #898b91; }
.community-social-post { border-color: #dfdfdc; box-shadow: 0 6px 18px rgba(29,30,34,.035); }.community-social-post:hover { border-color: #c8c4ba; box-shadow: 0 10px 24px rgba(29,30,34,.06); }.community-social-author:hover strong { color: #846d48; }.community-social-author strong { color: #2a2b30; }.community-social-author small { color: #7d7f85; }
.community-social-follow { color: #fff; border-color: #34353a; background: #34353a; }.community-social-follow:hover { border-color: #5a5b5f; background: #5a5b5f; }.community-social-follow.is-following { color: #6a6c72; border-color: #dbdcd9; background: #fff; }.community-social-follow.is-following:hover { color: #806a48; border-color: #b9a681; }.community-social-follow.is-mine { color: #5b5d63; border-color: #dbdcd9; background: #fafaf8; }.community-social-follow.is-mine:hover { color: #fff; border-color: #34353a; background: #34353a; }
.community-social-topic span { color: #735f42; background: #f0ece4; }.community-social-topic b { color: #5b786d; }.community-social-post h2 { color: #25262b; }.community-social-post > p { color: #61646a; }.community-social-more,.community-social-reaction:hover,.community-social-reaction.selected { color: #806a48; }.community-social-more:hover { color: #2d2e33; }.community-social-media { background: #303136; }.community-social-proof { color: #76787e; border-left-color: #9b8155; background: #f7f6f2; }.community-social-proof svg { color: #5f7a70; }.community-social-post-footer { border-top-color: #e6e6e2; }.community-social-reaction { color: #707279; }
.community-social-protection,.community-social-growth { border-color: #dedfdd; box-shadow: 0 6px 16px rgba(29,30,34,.025); }.community-social-protection > span { background: #34353a; }.community-social-protection h2 { color: #2b2c31; }.community-social-protection p { color: #777a80; }.community-social-protection p svg { color: #5c786e; }.community-social-protection .text-button { color: #806a48; }.community-social-protection .text-button:hover { color: #2d2e33; }.community-social-growth { background: #fafaf8; }.community-social-growth > span { color: #888a90; }.community-social-growth strong { color: #3c3d42; }.community-social-growth b { color: #8a724b; }.community-social-growth > i { background: #e2e1dd; }.community-social-growth > i em { background: #8d7650; }.community-social-growth p { color: #7d7f85; }.community-social-growth .secondary-button { color: #5c5e64; border-color: #d9dad7; }.community-social-growth .secondary-button:hover { color: #fff; border-color: #34353a; background: #34353a; }
.nav-item:focus { outline: none; }.nav-item:focus-visible { outline: 2px solid #b19a6d; outline-offset: -2px; }

/* Contemporary signal system: orange means act, teal means verified and safe. */
body[data-surface="community"] .view-head h1 { color: #15171b; font-family: var(--sans); font-weight: 800; }
body[data-surface="community"] .view-head .eyebrow { color: #ff5a22; }
body[data-surface="community"] .view-head p { color: #737b87; }
body[data-surface="community"] .view-head .primary-button { color: #fff; border-color: #ff5a22; background: #ff5a22; }
body[data-surface="community"] .view-head .primary-button:hover { border-color: #e94b16; background: #e94b16; }
body[data-surface="community"] .app-content::before { background: linear-gradient(132deg, #fafbfc 0%, #f1f4f7 53%, #e9edf1 100%); border-bottom-color: #dfe4e9; }
body[data-surface="community"] .app-content::after { background-image: linear-gradient(rgba(17,19,24,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(17,19,24,.028) 1px, transparent 1px), linear-gradient(104deg, transparent 25%, rgba(255,107,53,.055) 52%, transparent 78%); }
.community-social-shell { color: #1c2027; }
.community-social-identity { position: relative; min-height: 72px; color: #f7f9fb; border-color: #202631; border-left-color: #ff6b35; border-radius: 4px; background: #171b22; box-shadow: 0 14px 28px rgba(15,18,24,.13); }
.community-social-identity::after { position: absolute; top: 0; right: 0; bottom: 0; width: 28%; content: ""; background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.07) 100%); pointer-events: none; }
.community-social-avatar { z-index: 1; color: #171b22; border-color: rgba(255,255,255,.16); background: #f5f7f9; }.community-social-avatar.mine { color: #fff; background: #ff5a22; }
.community-social-identity p,.community-social-identity-stats,.community-social-profile-link { z-index: 1; position: relative; }.community-social-identity p strong,.community-social-identity-stats b { color: #fff; }.community-social-identity p span,.community-social-identity-stats button { color: #aeb7c3; }.community-social-identity-stats button:hover b { color: #ff8b61; }
.community-social-profile-link { color: #fff; border-color: rgba(255,255,255,.2); background: transparent; }.community-social-profile-link:hover { color: #171b22; border-color: #fff; background: #fff; }
.community-social-search-input { color: #8a929d; border-color: #d9dfe6; box-shadow: 0 5px 16px rgba(23,28,35,.035); }.community-social-search-input:hover { color: #515b68; border-color: #abb6c1; }.community-social-search-input svg,.community-social-message { color: #ff5a22; }.community-social-message { border-color: #d9dfe6; }.community-social-message:hover { color: #fff; border-color: #ff5a22; background: #ff5a22; }.community-social-message em { border-color: #f3f5f7; background: #1a9b8a; }
.community-social-tabs { border-bottom-color: #dfe4e9; }.community-social-tabs button { color: #77808c; }.community-social-tabs button:hover { color: #1d2229; background: #eef1f4; }.community-social-tabs button.active { color: #1a1e25; border-bottom-color: #ff5a22; }
.community-social-feed-label span { color: #1a1d23; }.community-social-feed-label small { color: #8a929d; }
.community-social-post { border-color: #dde3e9; border-radius: 4px; box-shadow: 0 7px 20px rgba(22,27,34,.04); }.community-social-post:hover { border-color: #bfc8d1; box-shadow: 0 13px 28px rgba(22,27,34,.075); }.community-social-author:hover strong { color: #ff5a22; }.community-social-author strong { color: #20242c; }.community-social-author small { color: #79828e; }
.community-social-follow { color: #fff; border-color: #171b22; background: #171b22; }.community-social-follow:hover { border-color: #ff5a22; background: #ff5a22; }.community-social-follow.is-following { color: #606a76; border-color: #d8dfe5; background: #fff; }.community-social-follow.is-following:hover { color: #e8531e; border-color: #ff8c64; }.community-social-follow.is-mine { color: #606a76; border-color: #d8dfe5; background: #f8fafb; }.community-social-follow.is-mine:hover { color: #fff; border-color: #171b22; background: #171b22; }
.community-social-topic span { color: #c44718; background: #fff0e9; }.community-social-topic b { color: #168675; }.community-social-post h2 { color: #171a20; font-family: var(--sans); letter-spacing: 0; }.community-social-post > p { color: #5d6672; }.community-social-more,.community-social-reaction:hover,.community-social-reaction.selected { color: #e8531e; }.community-social-more:hover { color: #171b22; }.community-social-media { background: #181c23; }.community-social-proof { color: #6a7480; border-left-color: #1a9b8a; background: #f2f8f7; }.community-social-proof svg { color: #1a9b8a; }.community-social-post-footer { border-top-color: #ebeff2; }.community-social-reaction { color: #77818c; }
.community-social-protection,.community-social-growth { border-color: #dde3e9; border-radius: 4px; box-shadow: 0 7px 20px rgba(22,27,34,.035); }.community-social-protection > span { background: #171b22; }.community-social-protection h2 { color: #1c2027; font-family: var(--sans); }.community-social-protection p { color: #737d89; }.community-social-protection p svg { color: #1a9b8a; }.community-social-protection .text-button { color: #e8531e; }.community-social-protection .text-button:hover { color: #171b22; }.community-social-growth { background: #f8fafb; }.community-social-growth > span { color: #89929d; }.community-social-growth strong { color: #262b33; }.community-social-growth b { color: #e8531e; }.community-social-growth > i { background: #e1e6eb; }.community-social-growth > i em { background: #ff5a22; }.community-social-growth p { color: #7a838e; }.community-social-growth .secondary-button { color: #3d4651; border-color: #d3dbe2; }.community-social-growth .secondary-button:hover { color: #fff; border-color: #171b22; background: #171b22; }
.nav-item:focus-visible { outline-color: #ff8b61; }

/* Final atelier cascade: this stays after earlier exploration styles. */
body[data-surface="community"] .view-head h1 { color: #24252a; }
body[data-surface="community"] .view-head .eyebrow { color: #85745a; }
body[data-surface="community"] .view-head p { color: #77797f; }
body[data-surface="community"] .view-head .primary-button { color: #fff; border-color: #24252a; background: #24252a; }
body[data-surface="community"] .view-head .primary-button:hover { border-color: #414248; background: #414248; }

body[data-surface="community"] .app-content::before { background: linear-gradient(154deg, #fbfbf9 0%, #f5f4f1 48%, #eeefeb 100%); border-bottom-color: rgba(213,211,204,.78); }
body[data-surface="community"] .app-content::after { background-image: linear-gradient(rgba(165,139,94,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(165,139,94,.035) 1px, transparent 1px), linear-gradient(103deg, transparent 20%, rgba(255,255,255,.6) 52%, transparent 78%); }

.community-social-shell { color: #292a2e; }
.community-social-identity { border-color: #dedfdd; border-left-color: #a58b5e; box-shadow: 0 11px 25px rgba(35,36,40,.055); }
.community-social-avatar { border-color: #ededeb; background: #4b4d53; }
.community-social-avatar.mine { background: #28292e; }
.community-social-identity p strong,.community-social-identity-stats b { color: #292a2f; }
.community-social-identity p span,.community-social-identity-stats button { color: #7e8086; }
.community-social-identity-stats button:hover b { color: #8b724b; }
.community-social-profile-link { color: #595b61; border-color: #d9dad7; }
.community-social-profile-link:hover { color: #fff; border-color: #34353a; background: #34353a; }

.community-social-search-input { color: #8d8f94; border-color: #dcddda; box-shadow: 0 4px 12px rgba(34,35,39,.025); }
.community-social-search-input:hover { color: #5f626a; border-color: #bbb4a7; }
.community-social-search-input svg,.community-social-message { color: #90774e; }
.community-social-message { border-color: #dcddda; }
.community-social-message:hover { color: #fff; border-color: #34353a; background: #34353a; }
.community-social-message em { border-color: #f5f5f2; background: #9b8155; }

.community-social-tabs { border-bottom-color: #dfdfdc; }
.community-social-tabs button { color: #777a81; }
.community-social-tabs button:hover { color: #34353a; background: #f0f0ed; }
.community-social-tabs button.active { color: #2e3035; border-bottom-color: #9b8155; }
.community-social-feed-label span { color: #303137; }
.community-social-feed-label small { color: #898b91; }

.community-social-post { border-color: #dfdfdc; box-shadow: 0 6px 18px rgba(29,30,34,.035); }
.community-social-post:hover { border-color: #c8c4ba; box-shadow: 0 10px 24px rgba(29,30,34,.06); }
.community-social-author:hover strong { color: #846d48; }
.community-social-author strong { color: #2a2b30; }
.community-social-author small { color: #7d7f85; }
.community-social-follow { color: #fff; border-color: #34353a; background: #34353a; }
.community-social-follow:hover { border-color: #5a5b5f; background: #5a5b5f; }
.community-social-follow.is-following { color: #6a6c72; border-color: #dbdcd9; background: #fff; }
.community-social-follow.is-following:hover { color: #806a48; border-color: #b9a681; }
.community-social-follow.is-mine { color: #5b5d63; border-color: #dbdcd9; background: #fafaf8; }
.community-social-follow.is-mine:hover { color: #fff; border-color: #34353a; background: #34353a; }
.community-social-topic span { color: #735f42; background: #f0ece4; }
.community-social-topic b { color: #5b786d; }
.community-social-post h2 { color: #25262b; }
.community-social-post > p { color: #61646a; }
.community-social-more,.community-social-reaction:hover,.community-social-reaction.selected { color: #806a48; }
.community-social-more:hover { color: #2d2e33; }
.community-social-media { background: #303136; }
.community-social-proof { color: #76787e; border-left-color: #9b8155; background: #f7f6f2; }
.community-social-proof svg { color: #5f7a70; }
.community-social-post-footer { border-top-color: #e6e6e2; }
.community-social-reaction { color: #707279; }

.community-social-protection,.community-social-growth { border-color: #dedfdd; box-shadow: 0 6px 16px rgba(29,30,34,.025); }
.community-social-protection > span { background: #34353a; }
.community-social-protection h2 { color: #2b2c31; }
.community-social-protection p { color: #777a80; }
.community-social-protection p svg { color: #5c786e; }
.community-social-protection .text-button { color: #806a48; }
.community-social-protection .text-button:hover { color: #2d2e33; }
.community-social-growth { background: #fafaf8; }
.community-social-growth > span { color: #888a90; }
.community-social-growth strong { color: #3c3d42; }
.community-social-growth b { color: #8a724b; }
.community-social-growth > i { background: #e2e1dd; }
.community-social-growth > i em { background: #8d7650; }
.community-social-growth p { color: #7d7f85; }
.community-social-growth .secondary-button { color: #5c5e64; border-color: #d9dad7; }
.community-social-growth .secondary-button:hover { color: #fff; border-color: #34353a; background: #34353a; }

.nav-item:focus { outline: none; }
.nav-item:focus-visible { outline: 2px solid #b19a6d; outline-offset: -2px; }

/* Quiet community entry field: depth at the top, clean reading below. */
body[data-surface="community"] .app-content { position: relative; isolation: isolate; }
body[data-surface="community"] .app-content::before { position: absolute; z-index: -1; top: 0; right: 0; left: 0; height: 310px; content: ""; background: linear-gradient(154deg, #fafaf8 0%, #f2f3f8 48%, #edf1f7 100%); border-bottom: 1px solid rgba(221,224,232,.7); }
body[data-surface="community"] .app-content::after { position: absolute; z-index: -1; top: 0; right: 0; left: 0; height: 310px; content: ""; background-image: linear-gradient(rgba(82,109,232,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(82,109,232,.035) 1px, transparent 1px), linear-gradient(103deg, transparent 20%, rgba(255,255,255,.55) 52%, transparent 78%); background-size: 28px 28px, 28px 28px, 100% 100%; mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.75) 58%, transparent 100%); pointer-events: none; }
body[data-surface="community"] .view-head { position: relative; padding: 22px 0 18px; border-bottom-color: rgba(144,157,182,.42); }
body[data-surface="community"] .community-social-shell { position: relative; }
body[data-surface="community"] .community-social-identity { box-shadow: 0 12px 26px rgba(41,46,65,.07); }
body[data-surface="community"] .community-social-searchline { margin-top: 18px; }
@media (max-width: 720px) { body[data-surface="community"] .app-content::before,body[data-surface="community"] .app-content::after { right: 0; left: 0; height: 272px; } body[data-surface="community"] .view-head { padding-top: 13px; padding-bottom: 15px; } }
@media (prefers-reduced-motion: reduce) { body[data-surface="community"] .app-content::after { background-image: none; } }

/* Compact entry hierarchy: one search, one publish action, faster path to the feed. */
body[data-surface="community"] .app-content::before,body[data-surface="community"] .app-content::after { height: 276px; }
body[data-surface="community"] .view-head { margin-bottom: 11px; padding: 15px 0 14px; }
body[data-surface="community"] .view-head h1 { margin-block: 3px 2px; }
body[data-surface="community"] .view-head p { margin-top: 2px; }
body[data-surface="community"] .community-social-identity { min-height: 66px; padding: 10px 14px; }
body[data-surface="community"] .community-social-searchline { margin: 12px 0 8px; }
body[data-surface="community"] .community-social-tabs button { min-height: 44px; }
@media (max-width: 720px) { body[data-surface="community"] .app-content::before,body[data-surface="community"] .app-content::after { height: 252px; } body[data-surface="community"] .view-head { padding: 10px 0 12px; }.community-social-identity { min-height: 0; } }

/* Atelier finish for the community surface. */
body[data-surface="community"] .view-head h1 { color: #24252a; } body[data-surface="community"] .view-head .eyebrow { color: #85745a; } body[data-surface="community"] .view-head p { color: #77797f; } body[data-surface="community"] .view-head .primary-button { color: #fff; border-color: #24252a; background: #24252a; } body[data-surface="community"] .view-head .primary-button:hover { color: #fff; border-color: #414248; background: #414248; }
body[data-surface="community"] .app-content::before { background: linear-gradient(154deg, #fbfbf9 0%, #f5f4f1 48%, #eeefeb 100%); border-bottom-color: rgba(213,211,204,.78); } body[data-surface="community"] .app-content::after { background-image: linear-gradient(rgba(165,139,94,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(165,139,94,.035) 1px, transparent 1px), linear-gradient(103deg, transparent 20%, rgba(255,255,255,.6) 52%, transparent 78%); }
.community-social-identity { border-color: #dedfdd; border-left-color: #a58b5e; box-shadow: 0 11px 25px rgba(35,36,40,.055); }.community-social-avatar { border-color: #ededeb; background: #4b4d53; }.community-social-avatar.mine { background: #28292e; }.community-social-identity p strong { color: #292a2f; }.community-social-identity p span { color: #7e8086; }.community-social-identity-stats button { color: #7a7c82; }.community-social-identity-stats button:hover b { color: #8b724b; }.community-social-identity-stats b { color: #303137; }.community-social-profile-link { color: #595b61; border-color: #d9dad7; }.community-social-profile-link:hover { color: #fff; border-color: #34353a; background: #34353a; }
.community-social-search-input { color: #8d8f94; border-color: #dcddda; box-shadow: 0 4px 12px rgba(34,35,39,.025); }.community-social-search-input:hover { color: #5f626a; border-color: #bbb4a7; }.community-social-search-input svg { color: #90774e; }.community-social-message { color: #90774e; border-color: #dcddda; }.community-social-message:hover { color: #fff; border-color: #34353a; background: #34353a; }.community-social-message em { border-color: #f5f5f2; background: #9b8155; }
.community-social-tabs { border-bottom-color: #dfdfdc; }.community-social-tabs button { color: #777a81; }.community-social-tabs button:hover { color: #34353a; background: #f0f0ed; }.community-social-tabs button.active { color: #2e3035; border-bottom-color: #9b8155; }
.community-social-feed-label span { color: #303137; }.community-social-feed-label small { color: #898b91; }.community-social-post { border-color: #dfdfdc; box-shadow: 0 6px 18px rgba(29,30,34,.035); }.community-social-post:hover { border-color: #c8c4ba; box-shadow: 0 10px 24px rgba(29,30,34,.06); }.community-social-author:hover strong { color: #846d48; }.community-social-author strong { color: #2a2b30; }.community-social-author small { color: #7d7f85; }
.community-social-follow { color: #fff; border-color: #34353a; background: #34353a; }.community-social-follow:hover { color: #fff; border-color: #5a5b5f; background: #5a5b5f; }.community-social-follow.is-following { color: #6a6c72; border-color: #dbdcd9; background: #fff; }.community-social-follow.is-following:hover { color: #806a48; border-color: #b9a681; }.community-social-follow.is-mine { color: #5b5d63; border-color: #dbdcd9; background: #fafaf8; }.community-social-follow.is-mine:hover { color: #fff; border-color: #34353a; background: #34353a; }
.community-social-topic span { color: #735f42; background: #f0ece4; }.community-social-topic b { color: #5b786d; }.community-social-post h2 { color: #25262b; }.community-social-post > p { color: #61646a; }.community-social-more { color: #806a48; }.community-social-more:hover { color: #2d2e33; }.community-social-proof { color: #76787e; border-left-color: #9b8155; background: #f7f6f2; }.community-social-proof svg { color: #5f7a70; }.community-social-reaction { color: #707279; }.community-social-reaction:hover,.community-social-reaction.selected { color: #806a48; }
.community-social-protection,.community-social-growth { border-color: #dedfdd; box-shadow: 0 6px 16px rgba(29,30,34,.025); }.community-social-protection > span { background: #34353a; }.community-social-protection h2 { color: #2b2c31; }.community-social-protection p { color: #777a80; }.community-social-protection p svg { color: #5c786e; }.community-social-protection .text-button { color: #806a48; }.community-social-protection .text-button:hover { color: #2d2e33; }.community-social-growth { background: #fafaf8; }.community-social-growth > span { color: #888a90; }.community-social-growth strong { color: #3c3d42; }.community-social-growth b { color: #8a724b; }.community-social-growth > i { background: #e2e1dd; }.community-social-growth > i em { background: #8d7650; }.community-social-growth p { color: #7d7f85; }.community-social-growth .secondary-button { color: #5c5e64; border-color: #d9dad7; }.community-social-growth .secondary-button:hover { color: #fff; border-color: #34353a; background: #34353a; }

/* Content-first professional community: navy structure with orange action cues. */
body[data-surface="community"] .app-content { max-width: 1180px; padding-bottom: 48px; }
body[data-surface="community"] .view-head { margin-bottom: 16px; }
body[data-surface="community"] .view-head h1 { color: #12263f; }
body[data-surface="community"] .view-head .eyebrow { color: #46718f; }
body[data-surface="community"] .view-head p { color: #6d7f90; }
body[data-surface="community"] .view-head .primary-button { color: #fff; background: #f36c21; border-color: #f36c21; box-shadow: none; }
body[data-surface="community"] .view-head .primary-button:hover { color: #fff; background: #dc5913; border-color: #dc5913; }
.community-head-actions { display: flex; gap: 8px; align-items: center; }
.community-head-search { display: inline-flex; min-height: 38px; align-items: center; gap: 7px; padding: 0 12px; color: #31506a; border: 1px solid #d5e0e8; border-radius: 6px; background: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.community-head-search svg { width: 15px; }.community-head-search:hover { color: #12263f; border-color: #89a8bd; background: #f5f9fc; }
.community-social-shell { color: #1c3042; }
.community-social-identity { display: flex; min-height: 78px; align-items: center; gap: 18px; padding: 14px 18px; border: 1px solid #d8e4ec; border-left: 4px solid #f36c21; border-radius: 7px; background: #fff; box-shadow: 0 9px 22px rgba(24, 56, 83, .055); }
.community-social-identity > div:first-child { display: flex; min-width: 220px; align-items: center; gap: 10px; }
.community-social-avatar { display: inline-grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; color: #fff; border: 2px solid #e9f0f4; border-radius: 50%; background: #315c7e; font-size: 14px; font-weight: 800; }
.community-social-avatar.mine { color: #fff; background: #12263f; }
.community-social-identity p { display: grid; gap: 2px; margin: 0; }.community-social-identity p strong { color: #142b43; font-size: 15px; }.community-social-identity p span { color: #7890a1; font-size: 11px; }
.community-social-identity-stats { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.community-social-identity-stats button { display: grid; gap: 1px; padding: 0; color: #6c8293; border: 0; background: transparent; font: inherit; font-size: 11px; text-align: left; cursor: pointer; }
.community-social-identity-stats button:hover b { color: #f36c21; }.community-social-identity-stats b { color: #19364f; font-size: 14px; transition: color .16s ease; }
.community-social-profile-link { display: inline-flex; min-height: 34px; align-items: center; gap: 5px; padding: 0 10px; color: #173c5b; border: 1px solid #cbdbe5; border-radius: 5px; background: #fff; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.community-social-profile-link:hover { color: #fff; border-color: #173c5b; background: #173c5b; }.community-social-profile-link svg { width: 13px; }
.community-social-searchline { display: flex; gap: 9px; align-items: center; margin: 16px 0 12px; }
.community-social-search-input { display: flex; width: min(100%, 548px); height: 42px; align-items: center; gap: 9px; padding: 0 14px; color: #8294a2; border: 1px solid #d7e3eb; border-radius: 22px; background: #fff; font: inherit; font-size: 12px; text-align: left; box-shadow: 0 4px 12px rgba(19, 47, 71, .03); cursor: pointer; }
.community-social-search-input:hover { color: #49657a; border-color: #9eb8ca; }.community-social-search-input svg { width: 17px; color: #315c7e; }
.community-social-message { position: relative; display: grid; width: 40px; height: 40px; place-items: center; color: #315c7e; border: 1px solid #d7e3eb; border-radius: 50%; background: #fff; cursor: pointer; }
.community-social-message:hover { color: #f36c21; border-color: #f36c21; }.community-social-message svg { width: 18px; }.community-social-message em { position: absolute; top: -3px; right: -3px; display: grid; width: 16px; height: 16px; place-items: center; color: #fff; border: 2px solid #f6f9fb; border-radius: 50%; background: #f36c21; font-size: 9px; font-style: normal; font-weight: 800; }
.community-social-tabs { display: flex; overflow-x: auto; margin: 0 -2px; border-bottom: 1px solid #d8e4ec; scrollbar-width: none; }.community-social-tabs::-webkit-scrollbar { display: none; }
.community-social-tabs button { display: inline-flex; min-width: max-content; min-height: 48px; align-items: center; gap: 6px; padding: 0 16px; color: #6d8192; border: 0; border-bottom: 3px solid transparent; background: transparent; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.community-social-tabs button svg { width: 15px; }.community-social-tabs button:hover { color: #1d4768; background: #f3f7fa; }.community-social-tabs button.active { color: #122f4a; border-bottom-color: #f36c21; }
.community-social-layout { display: grid; grid-template-columns: minmax(0, 680px) minmax(225px, 270px); justify-content: space-between; gap: 22px; padding-top: 18px; }.community-social-feed { min-width: 0; }
.community-social-feed-label { display: flex; align-items: baseline; justify-content: space-between; margin: 0 2px 10px; }.community-social-feed-label span { color: #153452; font-size: 14px; font-weight: 800; }.community-social-feed-label small { color: #8497a6; font-size: 10px; }
.community-social-post { overflow: hidden; margin-bottom: 14px; padding: 16px; border: 1px solid #dbe5ec; border-radius: 7px; background: #fff; box-shadow: 0 6px 18px rgba(17, 54, 80, .045); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.community-social-post:hover { border-color: #b8cfde; box-shadow: 0 10px 24px rgba(17, 54, 80, .075); transform: translateY(-1px); }
.community-social-post-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.community-social-author { display: flex; min-width: 0; align-items: center; gap: 9px; padding: 0; color: inherit; border: 0; background: transparent; text-align: left; cursor: pointer; }.community-social-author:hover strong { color: #f36c21; }.community-social-author > span:last-child { display: grid; min-width: 0; gap: 2px; }.community-social-author strong { overflow: hidden; color: #17334d; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; transition: color .16s ease; }.community-social-author small { overflow: hidden; color: #7e909f; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.community-social-follow { min-width: 58px; height: 28px; padding: 0 10px; color: #fff; border: 1px solid #f36c21; border-radius: 14px; background: #f36c21; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }.community-social-follow:hover { color: #fff; background: #dc5913; border-color: #dc5913; }.community-social-follow.is-following { color: #48677e; border-color: #cadbe6; background: #fff; }.community-social-follow.is-following:hover { color: #f36c21; border-color: #f36c21; }.community-social-follow.is-mine { display: inline-flex; width: auto; align-items: center; justify-content: center; gap: 4px; color: #1c4e74; border-color: #c9dbe7; background: #f6faff; }.community-social-follow.is-mine:hover { color: #fff; border-color: #1c4e74; background: #1c4e74; }.community-social-follow svg { width: 13px; }
.community-social-topic { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 15px; }.community-social-topic span { display: inline-flex; padding: 4px 7px; color: #bd4b12; border-radius: 3px; background: #fff0e8; font-size: 10px; font-weight: 800; }.community-social-topic b { display: inline-flex; align-items: center; gap: 3px; color: #3b7792; font-size: 10px; font-weight: 700; }.community-social-topic b svg { width: 13px; }
.community-social-post h2 { margin: 10px 0 8px; color: #152c44; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: clamp(19px, 2vw, 24px); font-weight: 700; line-height: 1.32; }.community-social-post > p { margin: 0; color: #5c7181; font-size: 13px; line-height: 1.72; }
.community-social-more { display: inline-flex; align-items: center; gap: 2px; padding: 8px 0; color: #1a608d; border: 0; background: transparent; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }.community-social-more:hover { color: #f36c21; }.community-social-more svg { width: 14px; }
.community-social-media { position: relative; display: block; overflow: hidden; width: 100%; height: 276px; padding: 0; border: 0; border-radius: 5px; background: #12304c; cursor: pointer; }.community-social-media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 42%, rgba(7, 24, 39, .66)); pointer-events: none; }.community-social-media:hover img { transform: scale(1.025); }.community-social-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .32s ease; }.community-social-media-type,.community-social-media-count { position: absolute; z-index: 1; bottom: 11px; color: #fff; font-size: 10px; font-weight: 700; }.community-social-media-type { left: 12px; display: inline-flex; align-items: center; gap: 4px; }.community-social-media-type svg { width: 14px; fill: currentColor; }.community-social-media-count { right: 12px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; background: rgba(12, 34, 53, .58); }
.community-social-proof { display: flex; align-items: center; gap: 5px; margin-top: 10px; padding: 9px 10px; color: #638095; border-left: 2px solid #f36c21; background: #f4f8fb; font-size: 10px; }.community-social-proof svg { width: 14px; color: #2b7298; }
.community-social-post-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; padding-top: 10px; border-top: 1px solid #e7eef3; }.community-social-post-footer > span { color: #8393a0; font-size: 10px; }.community-social-post-footer > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 3px; }.community-social-reaction { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 0 6px; color: #5d7587; border: 0; background: transparent; font: inherit; font-size: 10px; cursor: pointer; }.community-social-reaction:hover,.community-social-reaction.selected { color: #e35b19; }.community-social-reaction svg { width: 14px; }.community-social-reaction.selected svg { fill: currentColor; }
.community-social-aside { display: grid; align-content: start; gap: 12px; }.community-social-protection,.community-social-growth { padding: 16px; border: 1px solid #d9e5ed; border-radius: 6px; background: #fff; box-shadow: 0 6px 16px rgba(17, 54, 80, .035); }.community-social-protection > span { display: grid; width: 29px; height: 29px; place-items: center; color: #fff; border-radius: 50%; background: #1b547c; }.community-social-protection > span svg { width: 15px; }.community-social-protection h2 { margin: 10px 0 12px; color: #1b354d; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: 17px; line-height: 1.4; }.community-social-protection p { display: flex; align-items: flex-start; gap: 6px; margin: 8px 0; color: #698091; font-size: 10px; line-height: 1.5; }.community-social-protection p svg { width: 14px; flex: 0 0 auto; color: #337396; }.community-social-protection .text-button { display: inline-flex; align-items: center; gap: 3px; margin-top: 7px; padding: 0; color: #1b668f; font-size: 11px; font-weight: 800; }.community-social-protection .text-button:hover { color: #e35b19; }.community-social-protection .text-button svg { width: 13px; }.community-social-growth { background: #f5f9fc; }.community-social-growth > span { color: #7791a3; font-size: 10px; }.community-social-growth strong { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; color: #28445b; font-size: 12px; }.community-social-growth b { color: #f36c21; font-size: 11px; }.community-social-growth > i { display: block; overflow: hidden; height: 5px; margin: 10px 0; border-radius: 3px; background: #dbe7ee; }.community-social-growth > i em { display: block; width: 66%; height: 100%; border-radius: inherit; background: #1d668e; }.community-social-growth p { margin: 0 0 12px; color: #778d9d; font-size: 10px; line-height: 1.55; }.community-social-growth .secondary-button { width: 100%; min-height: 34px; color: #1e516f; border-color: #bfd2df; background: #fff; font-size: 11px; }.community-social-growth .secondary-button:hover { color: #fff; border-color: #1e516f; background: #1e516f; }
.community-social-empty { display: grid; justify-items: center; gap: 8px; padding: 42px 20px; color: #6e8393; border: 1px dashed #bbcfdd; border-radius: 7px; background: #fff; text-align: center; }.community-social-empty > svg { width: 28px; color: #2c7399; }.community-social-empty h2 { margin: 2px 0 0; color: #1c405c; font-size: 16px; }.community-social-empty p { max-width: 310px; margin: 0; font-size: 11px; line-height: 1.6; }.community-social-empty .secondary-button { margin-top: 4px; }
@media (max-width: 900px) { .community-social-layout { grid-template-columns: minmax(0, 1fr) 218px; gap: 16px; }.community-social-identity { gap: 12px; }.community-social-identity > div:first-child { min-width: 185px; }.community-social-identity-stats { gap: 12px; } }
@media (max-width: 720px) { body[data-surface="community"] .app-content { padding: 0 14px 88px; } body[data-surface="community"] .view-head { margin-top: 4px; }.community-head-search { width: 38px; padding: 0; justify-content: center; font-size: 0; }.community-head-search svg { width: 17px; }.community-social-identity { align-items: flex-start; flex-wrap: wrap; padding: 13px; }.community-social-identity > div:first-child { min-width: 0; }.community-social-identity-stats { order: 3; width: 100%; margin-left: 48px; }.community-social-profile-link { margin-left: auto; }.community-social-tabs { margin: 0 -14px; padding: 0 10px; }.community-social-tabs button { min-height: 46px; padding: 0 12px; }.community-social-layout { grid-template-columns: 1fr; padding-top: 14px; }.community-social-aside { grid-template-columns: 1fr 1fr; }.community-social-protection,.community-social-growth { padding: 13px; }.community-social-protection h2 { font-size: 15px; }.community-social-protection p { font-size: 9px; }.community-social-media { height: 215px; }.community-social-post { padding: 13px; }.community-social-post h2 { font-size: 19px; }.community-social-post-footer { align-items: flex-start; flex-direction: column; }.community-social-post-footer > div { justify-content: flex-start; } }
@media (max-width: 480px) { .community-social-identity { gap: 10px; }.community-social-identity-stats { margin-left: 0; }.community-social-profile-link { width: 100%; justify-content: center; }.community-social-aside { grid-template-columns: 1fr; }.community-social-message { width: 38px; height: 38px; }.community-social-search-input { height: 38px; }.community-social-media { height: 192px; } }
@media (prefers-reduced-motion: reduce) { .community-social-post,.community-social-media img { transition: none; } .community-social-post:hover { transform: none; } }

/* One visual language for the social feed: no orange action cues. */
body[data-surface="community"] .app-content { background: transparent; }
body[data-surface="community"] .view-head h1 { color: #132f48; }
body[data-surface="community"] .view-head .eyebrow { color: #4c7692; }
body[data-surface="community"] .view-head p { color: #6c8496; }
body[data-surface="community"] .view-head .primary-button { color: #fff; border-color: #112f4b; background: #112f4b; }
body[data-surface="community"] .view-head .primary-button:hover { color: #fff; border-color: #1d5c87; background: #1d5c87; }
.community-head-search { color: #31546c; border-color: #d5e1e9; background: #fff; }.community-head-search:hover { color: #fff; border-color: #1d5c87; background: #1d5c87; }
.community-social-identity { border-color: #d4e1e9; border-left-color: #2b7099; box-shadow: 0 9px 22px rgba(18,54,79,.055); }.community-social-avatar { border-color: #e5eef3; background: #356e93; }.community-social-avatar.mine { background: #112f4b; }.community-social-identity p strong { color: #16334c; }.community-social-identity p span { color: #768fa0; }.community-social-identity-stats button { color: #6f8798; }.community-social-identity-stats button:hover b { color: #1d5c87; }.community-social-identity-stats b { color: #173c59; }.community-social-profile-link { color: #1e5478; border-color: #c7d9e4; }.community-social-profile-link:hover { color: #fff; border-color: #1b557d; background: #1b557d; }
.community-social-search-input { color: #8496a3; border-color: #d4e1e9; box-shadow: 0 4px 12px rgba(18,54,79,.035); }.community-social-search-input:hover { color: #355e78; border-color: #9bbbd0; }.community-social-search-input svg { color: #31698f; }.community-social-message { color: #31698f; border-color: #d4e1e9; }.community-social-message:hover { color: #fff; border-color: #1d5c87; background: #1d5c87; }.community-social-message em { border-color: #f2f6f9; background: #2f719a; }
.community-social-tabs { border-bottom-color: #d5e1e9; }.community-social-tabs button { color: #718798; }.community-social-tabs button:hover { color: #173f5c; background: #edf4f8; }.community-social-tabs button.active { color: #123551; border-bottom-color: #2e6f98; }
.community-social-feed-label span { color: #173a56; }.community-social-feed-label small { color: #8196a5; }.community-social-post { border-color: #d9e5ec; box-shadow: 0 6px 18px rgba(17,54,80,.045); }.community-social-post:hover { border-color: #b7cedd; box-shadow: 0 10px 24px rgba(17,54,80,.075); }.community-social-author:hover strong { color: #1d5c87; }.community-social-author strong { color: #163650; }.community-social-author small { color: #788f9f; }
.community-social-follow { color: #fff; border-color: #163d5a; background: #163d5a; }.community-social-follow:hover { color: #fff; border-color: #2b6e97; background: #2b6e97; }.community-social-follow.is-following { color: #486d85; border-color: #c9dae5; background: #fff; }.community-social-follow.is-following:hover { color: #1e5e87; border-color: #2b6e97; }.community-social-follow.is-mine { color: #1e5277; border-color: #c8dbe7; background: #f5f9fc; }.community-social-follow.is-mine:hover { color: #fff; border-color: #1b557d; background: #1b557d; }
.community-social-topic span { color: #255f86; background: #eaf3f8; }.community-social-topic b { color: #397999; }.community-social-post h2 { color: #132e46; }.community-social-post > p { color: #5c7283; }.community-social-more { color: #21618d; }.community-social-more:hover { color: #0d395d; }.community-social-proof { color: #607f94; border-left-color: #36789e; background: #f2f7fa; }.community-social-proof svg { color: #34769c; }.community-social-reaction { color: #5e778a; }.community-social-reaction:hover,.community-social-reaction.selected { color: #1e618c; }
.community-social-protection,.community-social-growth { border-color: #d8e4eb; box-shadow: 0 6px 16px rgba(17,54,80,.035); }.community-social-protection > span { background: #245c82; }.community-social-protection h2 { color: #183850; }.community-social-protection p { color: #698294; }.community-social-protection p svg { color: #397b9f; }.community-social-protection .text-button { color: #23638e; }.community-social-protection .text-button:hover { color: #0d395d; }.community-social-growth { background: #f3f8fb; }.community-social-growth > span { color: #728c9e; }.community-social-growth strong { color: #294960; }.community-social-growth b { color: #286a94; }.community-social-growth > i { background: #d7e5ed; }.community-social-growth > i em { background: #2c6e97; }.community-social-growth p { color: #748d9e; }.community-social-growth .secondary-button { color: #205477; border-color: #c1d5e1; }.community-social-growth .secondary-button:hover { color: #fff; border-color: #1d577e; background: #1d577e; }.community-social-empty { color: #6e8595; border-color: #b8cedc; }.community-social-empty > svg { color: #32779e; }.community-social-empty h2 { color: #1b425e; }

/* Graphite community overlay: cobalt is reserved for proof and active states. */
body[data-surface="community"] .view-head h1 { color: #20232a; } body[data-surface="community"] .view-head .eyebrow { color: #7781a1; } body[data-surface="community"] .view-head p { color: #737985; } body[data-surface="community"] .view-head .primary-button { color: #fff; border-color: #20232a; background: #20232a; } body[data-surface="community"] .view-head .primary-button:hover { color: #fff; border-color: #4263eb; background: #4263eb; }
.community-head-search { color: #555c68; border-color: #e2e2de; background: #fff; }.community-head-search:hover { color: #fff; border-color: #22252b; background: #22252b; }
.community-social-identity { border-color: #e3e3df; border-left-color: #526de8; box-shadow: 0 9px 22px rgba(24,26,31,.045); }.community-social-avatar { border-color: #eeeeeb; background: #454b56; }.community-social-avatar.mine { background: #22252b; }.community-social-identity p strong { color: #25282f; }.community-social-identity p span { color: #7b818b; }.community-social-identity-stats button { color: #767d88; }.community-social-identity-stats button:hover b { color: #526de8; }.community-social-identity-stats b { color: #252a32; }.community-social-profile-link { color: #48515e; border-color: #dededb; }.community-social-profile-link:hover { color: #fff; border-color: #22252b; background: #22252b; }
.community-social-search-input { color: #8b9099; border-color: #e1e1de; box-shadow: 0 4px 12px rgba(24,26,31,.025); }.community-social-search-input:hover { color: #5c6470; border-color: #bfc5d7; }.community-social-search-input svg { color: #5a6ee0; }.community-social-message { color: #5a6ee0; border-color: #e1e1de; }.community-social-message:hover { color: #fff; border-color: #22252b; background: #22252b; }.community-social-message em { border-color: #f7f7f5; background: #526de8; }
.community-social-tabs { border-bottom-color: #e4e4e0; }.community-social-tabs button { color: #777e88; }.community-social-tabs button:hover { color: #282d35; background: #f0f0ed; }.community-social-tabs button.active { color: #242a32; border-bottom-color: #526de8; }
.community-social-feed-label span { color: #2b3038; }.community-social-feed-label small { color: #8a9098; }.community-social-post { border-color: #e4e4e0; box-shadow: 0 6px 18px rgba(24,26,31,.035); }.community-social-post:hover { border-color: #ced2db; box-shadow: 0 10px 24px rgba(24,26,31,.065); }.community-social-author:hover strong { color: #526de8; }.community-social-author strong { color: #282c33; }.community-social-author small { color: #7d848e; }
.community-social-follow { color: #fff; border-color: #25282f; background: #25282f; }.community-social-follow:hover { color: #fff; border-color: #526de8; background: #526de8; }.community-social-follow.is-following { color: #5f6874; border-color: #dededb; background: #fff; }.community-social-follow.is-following:hover { color: #526de8; border-color: #9eadfb; }.community-social-follow.is-mine { color: #4d5663; border-color: #dededb; background: #fafafa; }.community-social-follow.is-mine:hover { color: #fff; border-color: #25282f; background: #25282f; }
.community-social-topic span { color: #46589e; background: #eff1ff; }.community-social-topic b { color: #5570d1; }.community-social-post h2 { color: #20242b; }.community-social-post > p { color: #5f6771; }.community-social-more { color: #526de8; }.community-social-more:hover { color: #25282f; }.community-social-media { background: #25282f; }.community-social-proof { color: #707985; border-left-color: #526de8; background: #f7f7f5; }.community-social-proof svg { color: #526de8; }.community-social-post-footer { border-top-color: #ededeb; }.community-social-reaction { color: #68717d; }.community-social-reaction:hover,.community-social-reaction.selected { color: #526de8; }
.community-social-protection,.community-social-growth { border-color: #e3e3df; box-shadow: 0 6px 16px rgba(24,26,31,.025); }.community-social-protection > span { background: #25282f; }.community-social-protection h2 { color: #262b32; }.community-social-protection p { color: #747b85; }.community-social-protection p svg { color: #526de8; }.community-social-protection .text-button { color: #526de8; }.community-social-protection .text-button:hover { color: #25282f; }.community-social-growth { background: #f8f8f6; }.community-social-growth > span { color: #808690; }.community-social-growth strong { color: #353b44; }.community-social-growth b { color: #526de8; }.community-social-growth > i { background: #e1e2e8; }.community-social-growth > i em { background: #526de8; }.community-social-growth p { color: #7b828c; }.community-social-growth .secondary-button { color: #4d5664; border-color: #dadad6; }.community-social-growth .secondary-button:hover { color: #fff; border-color: #25282f; background: #25282f; }.community-social-empty { color: #777e88; border-color: #d6d8df; }.community-social-empty > svg { color: #526de8; }.community-social-empty h2 { color: #30353d; }

/* Navy community surface: trust, navigation, and actions share one deep-blue scale. */
.community-profile-overview { color: #183A58; background: #F7FBFE; border-color: #D7E2EC; border-left-color: #2F6FAD; box-shadow: 0 7px 18px rgba(11,31,51,.055); }
.community-profile-avatar { color: #102A43; background: #E8F1F8; }
.community-profile-avatar > span { color: #fff; background: #2F6FAD; border-color: #E8F1F8; }
.community-profile-overview .eyebrow { color: #2F6FAD; }
.community-profile-overview h2 { color: #102A43; }
.community-profile-overview h2 small { color: #2F6FAD; }
.community-profile-overview p,.community-profile-stats span,.community-profile-actions > span { color: #71859A; }
.community-profile-stats b { color: #102A43; }
.community-profile-actions .secondary-button { color: #fff; background: #102A43; border-color: #102A43; }
.community-profile-actions .secondary-button:hover { background: #1F4E79; border-color: #1F4E79; }
.community-clean-toolbar,.community-v2-post,.community-clean-side { border-color: #D7E2EC; box-shadow: 0 5px 14px rgba(11,31,51,.03); }
.community-v2-tabs button:hover { color: #2F6FAD; background: #F4F9FD; }
.community-v2-tabs button.active { color: #102A43; background: #ECF5FB; box-shadow: inset 0 -3px 0 #2F6FAD; }
.community-v2-tabs button.active small { color: #2F6FAD; }
.community-v2-topic { color: #1F4E79; background: #E1EEF8; }
.community-v2-proof { color: #fff; background: #2F6FAD; }
.community-v2-post h2,.community-clean-side h2 { color: #102A43; }
.community-v2-author > span { background: #1F4E79; }
.community-media-play { color: #fff; background: #102A43; }
.community-v2-copyright { color: #61798E; background: #F3F8FC; }
.community-clean-growth { background: #F6FAFD; }
.community-clean-metrics b { color: #2F6FAD; }
.community-author-profile-link { position: relative; cursor: pointer; padding: 3px; margin: -3px; border-radius: 4px; transition: background 180ms ease; }
.community-author-profile-link:hover,.community-author-profile-link:focus-visible { background: #edf6f1; outline: 0; }
.community-author-profile-link::after { margin-left: auto; color: var(--green); content: "查看主页"; font-size: 8px; font-weight: 800; }
.community-author-profile-link > div { min-width: 0; }

.community-clean-toolbar { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; margin-bottom: 22px; border: 1px solid var(--line); background: #fff; }
.community-v2-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.community-v2-tabs button { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 15px; color: var(--muted); background: transparent; border: 0; border-right: 1px solid var(--line); font-size: 11px; font-weight: 700; transition: color 180ms ease, background 180ms ease; }
.community-v2-tabs button span { display: inline-flex; align-items: center; gap: 7px; }
.community-v2-tabs button svg { width: 15px; }
.community-v2-tabs button small { color: #89968f; font: 10px var(--mono); }
.community-v2-tabs button:hover { color: var(--forest); background: #f5f8f6; }
.community-v2-tabs button.active { color: var(--forest-deep); background: #edf6f1; box-shadow: inset 0 -3px 0 var(--green); }
.community-v2-tabs button.active small { color: var(--green); }
.community-clean-guard { display: flex; align-items: center; min-height: 48px; gap: 7px; padding: 0 14px; color: #607168; white-space: nowrap; font-size: 9px; }
.community-clean-guard > svg { width: 14px; color: var(--green); }
.community-clean-guard button { min-height: 30px; margin-left: 3px; padding: 0; color: var(--green); background: transparent; border: 0; font-size: 9px; font-weight: 800; }

.community-clean-layout { display: grid; grid-template-columns: minmax(0,1fr) 250px; align-items: start; gap: 22px; }
.community-v2-feed { display: grid; align-content: start; gap: 14px; }
.community-v2-feed-head { display: flex; align-items: end; justify-content: space-between; min-height: 36px; padding: 0 1px 8px; border-bottom: 1px solid var(--line); }
.community-v2-feed-head strong,.community-v2-feed-head .eyebrow { display: block; }
.community-v2-feed-head strong { margin-top: 3px; color: var(--ink); font-size: 12px; }
.community-v2-feed-head > span { display: inline-flex; align-items: center; gap: 5px; color: #5e7b6c; font-size: 9px; }
.community-v2-feed-head > span svg { width: 13px; }

.community-v2-post { padding: 20px 21px 16px; border: 1px solid var(--line); background: #fff; }
.community-v2-post-head { display: flex; justify-content: space-between; gap: 8px; }
.community-v2-topic,.community-v2-proof { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; font-size: 9px; font-weight: 700; }
.community-v2-topic { color: #805c18; background: #fff2d9; }
.community-v2-proof { color: var(--green); background: #eaf5ef; }
.community-v2-proof svg { width: 12px; }
.community-v2-post h2 { margin: 13px 0 10px; color: var(--forest-deep); font-family: var(--serif); font-size: 19px; line-height: 1.45; }
.community-v2-author { display: flex; align-items: center; gap: 9px; }
.community-v2-author > span { display: grid; width: 30px; height: 30px; place-items: center; color: #fff; background: #5e8876; border-radius: 50%; font-size: 10px; font-weight: 700; }
.community-v2-author strong,.community-v2-author small { display: block; }
.community-v2-author strong { font-size: 10px; }
.community-v2-author small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.community-v2-copy { margin: 15px 0 4px; color: #576860; font-size: 11px; line-height: 1.8; }
.community-v2-expand { display: inline-flex; align-items: center; min-height: 30px; gap: 3px; padding: 0; color: var(--green); background: transparent; border: 0; font-size: 10px; font-weight: 800; }
.community-v2-expand svg { width: 13px; }
.community-v2-copyright { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 9px; color: #63766b; background: #f1f6f3; font-size: 9px; }
.community-v2-copyright svg { width: 13px; color: var(--green); }
.community-v2-post footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); }
.community-v2-post footer > span { color: var(--muted); font-size: 9px; }
.community-v2-post footer > div { display: flex; gap: 12px; }
.community-v2-post .text-button { min-height: 30px; font-size: 9px; }
.community-v2-post .text-button svg { width: 13px; }
.community-v2-post .text-button.selected { color: #86601a; }

.community-clean-side { position: sticky; top: 88px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.community-clean-side > section { padding: 18px; }
.community-clean-side > section + section { border-top: 1px solid var(--line); }
.community-v2-panel-label { display: block; margin-bottom: 11px; color: #7b8981; font: 9px var(--mono); letter-spacing: .7px; }
.community-clean-side h2 { margin: 0 0 14px; color: var(--forest-deep); font-family: var(--serif); font-size: 16px; line-height: 1.45; }
.community-clean-rules { display: grid; gap: 10px; }
.community-clean-rules p { display: flex; align-items: flex-start; gap: 7px; margin: 0; color: #596b61; font-size: 10px; line-height: 1.5; }
.community-clean-rules svg { width: 14px; flex: none; color: var(--green); }
.community-clean-side .text-button { margin-top: 14px; }
.community-clean-metrics { display:grid; grid-template-columns:repeat(2,1fr); margin:0 0 14px; border:1px solid var(--line); }
.community-clean-metrics button { min-height:50px; padding:7px 9px; border:0; border-right:1px solid var(--line); color:var(--muted); background:#fbfcfa; text-align:left; }
.community-clean-metrics button:last-child { border-right:0; }
.community-clean-metrics button:hover { color:var(--forest); background:#f0f7f3; }
.community-clean-metrics b,.community-clean-metrics span { display:block; }
.community-clean-metrics b { color:var(--green); font:15px var(--mono); }
.community-clean-metrics span { margin-top:2px; font-size:9px; }
.community-clean-growth { background: #f6f8f5; }
.community-clean-growth > div:first-of-type { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.community-clean-growth strong { font-size: 11px; }
.community-clean-growth b { color: var(--green); font: 11px var(--mono); }
.community-v2-progress { height: 6px; margin: 11px 0; overflow: hidden; background: #dfe9e3; }
.community-v2-progress i { display: block; height: 100%; background: var(--green); }
.community-clean-growth p { margin: 0 0 13px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.community-clean-growth .secondary-button { width: 100%; }
.community-clean-growth small { display:block; margin-top:10px; color:#7b8981; font-size:9px; line-height:1.45; }

@media (max-width: 980px) {
  .community-clean-toolbar { grid-template-columns: 1fr; }
  .community-clean-guard { border-top: 1px solid var(--line); }
  .community-clean-layout { grid-template-columns: minmax(0,1fr) 220px; gap: 15px; }
}

@media (max-width: 720px) {
  body[data-surface="community"] .app-content { padding-top: 22px; }
  body[data-surface="community"] .view-head { align-items: flex-start; }
  .community-profile-overview { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 15px; padding: 16px; }
  .community-profile-overview p { font-size: 9px; }
  .community-profile-actions { width: 100%; grid-template-columns: 1fr auto; align-items: center; }
  .community-profile-actions > span { min-width: 0; line-height: 1.4; }
  .community-profile-actions .secondary-button { min-height: 37px; }
  .community-clean-toolbar { margin-bottom: 16px; }
  .community-v2-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .community-v2-tabs button { min-height: 46px; }
  .community-v2-tabs button:nth-child(2n) { border-right: 0; }
  .community-v2-tabs button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .community-clean-guard { align-items: flex-start; white-space: normal; padding-block: 10px; line-height: 1.5; }
  .community-clean-layout { grid-template-columns: 1fr; }
  .community-clean-side { position: static; order: -1; }
  .community-clean-side > section { padding: 15px; }
  .community-clean-side > section:first-child { display: none; }
  .community-v2-post { padding: 16px; }
  .community-v2-post h2 { font-size: 17px; }
  .community-v2-post footer { align-items: flex-start; flex-direction: column; }
  .community-v2-post footer > div { width: 100%; justify-content: space-between; gap: 6px; }
}

.community-media { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(118px, .72fr); gap: 8px; height: 156px; margin-top: 13px; }
.community-media button { position: relative; display: block; min-width: 0; min-height: 0; height: 100%; padding: 0; overflow: hidden; border: 0; background: #dce7df; }
.community-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 240ms ease; }
.community-media button:hover img { transform: scale(1.035); }
.community-media-primary { min-height: 0; align-self:stretch; }
.community-media-primary::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 45%, rgba(8, 37, 29, .58)); pointer-events: none; }
.community-media-label { position: absolute; z-index: 1; left: 10px; bottom: 9px; display: inline-flex; align-items: center; gap: 5px; color: #fff; font-size: 9px; font-weight: 700; }
.community-media-label svg { width: 13px; }
.community-media-play { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; width: 38px; height: 38px; place-items: center; color: var(--forest-deep); background: var(--lime); border-radius: 50%; transform: translate(-50%, -50%); }
.community-media-play svg { width: 16px; margin-left: 2px; fill: currentColor; }
.community-media-stills { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); min-height:0; gap: 8px; }
.community-media-stills button::after { position: absolute; inset: 0; content: ""; border: 1px solid rgba(255, 255, 255, .3); pointer-events: none; }
.media-dialog-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 9px; margin-top: 16px; }
.media-dialog-grid figure { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); background: #f1f5f2; }
.media-dialog-grid figure:first-child { grid-row: span 2; }
.media-dialog-grid img { display: block; width: 100%; height: 100px; object-fit: cover; }
.media-dialog-grid figure:first-child img { height: 214px; }
.media-dialog-grid figcaption { display: flex; align-items: center; gap: 5px; padding: 7px; color: var(--muted); font-size: 9px; }
.media-dialog-grid figcaption svg { width: 12px; color: var(--green); }

@media (max-width: 720px) {
  .community-media { height: 148px; grid-template-columns: minmax(0, 1.35fr) minmax(102px, .8fr); }
  .media-dialog-grid { grid-template-columns: 1fr 1fr; }
  .media-dialog-grid figure:first-child { grid-column: span 2; grid-row: auto; }
  .media-dialog-grid figure:first-child img { height: 170px; }
}

/* Bright studio treatment for the professional-profile entry in the community. */
.community-profile-overview { color: #24434f; background: #fff4ee; border: 1px solid #ffd8cf; border-left: 4px solid #f26b5b; box-shadow: 0 8px 20px rgba(40,72,96,.055); }
.community-profile-avatar { color: #fff; background: #f26b5b; }
.community-profile-avatar > span { color: #fff; background: #167f8d; border-color: #f26b5b; }
.community-profile-overview .eyebrow { color: #167f8d; }
.community-profile-overview h2 { color: #1d3440; }
.community-profile-overview h2 small { color: #167f8d; }
.community-profile-overview p { color: #607987; }
.community-profile-stats span { color: #6d8290; }
.community-profile-stats b { color: #1d3440; }
.community-profile-actions > span { color: #66808d; }
.community-profile-actions .secondary-button { color: #fff; background: #f26b5b; border-color: #f26b5b; }
.community-profile-actions .secondary-button:hover { background: #df5a4c; border-color: #df5a4c; }

/* Monochrome community override. */
.community-profile-overview { color: #252525; background: #fff; border-color: #dededb; border-left-color: #151515; box-shadow: 0 5px 15px rgba(0,0,0,.03); }
.community-profile-avatar { color: #fff; background: #151515; }
.community-profile-avatar > span { color: #151515; background: #fff; border-color: #151515; }
.community-profile-overview .eyebrow { color: #666; }
.community-profile-overview h2 { color: #171717; }
.community-profile-overview h2 small { color: #555; }
.community-profile-overview p,.community-profile-stats span,.community-profile-actions > span { color: #707070; }
.community-profile-stats b { color: #171717; }
.community-profile-actions .secondary-button { color: #fff; background: #151515; border-color: #151515; }
.community-profile-actions .secondary-button:hover { background: #3a3a3a; border-color: #3a3a3a; }
.community-clean-toolbar,.community-v2-post,.community-clean-side { border-color: #dededb; box-shadow: 0 4px 13px rgba(0,0,0,.025); }
.community-v2-tabs button:hover { color: #151515; background: #f3f3f1; }
.community-v2-tabs button.active { color: #151515; background: #f1f1ef; box-shadow: inset 0 -3px 0 #151515; }
.community-v2-tabs button.active small { color: #151515; }
.community-v2-topic { color: #333; background: #e5e5e1; }
.community-v2-proof { color: #fff; background: #4a4a4a; }
.community-v2-post h2,.community-clean-side h2 { color: #171717; }
.community-v2-author > span { background: #3a3a3a; }
.community-media-play { color: #fff; background: #151515; }
.community-v2-copyright { color: #666; background: #f3f3f1; }
.community-clean-growth { background: #f7f7f5; }
.community-clean-metrics b { color: #222; }

/* Final atelier palette: deliberately placed at EOF after every legacy community theme. */
body[data-surface="community"] .view-head h1 { color: #24252a; }
body[data-surface="community"] .view-head .eyebrow { color: #85745a; }
body[data-surface="community"] .view-head p { color: #77797f; }
body[data-surface="community"] .view-head .primary-button { color: #fff; border-color: #24252a; background: #24252a; }
body[data-surface="community"] .view-head .primary-button:hover { border-color: #414248; background: #414248; }
body[data-surface="community"] .app-content::before { background: linear-gradient(154deg, #fbfbf9 0%, #f5f4f1 48%, #eeefeb 100%); border-bottom-color: rgba(213,211,204,.78); }
body[data-surface="community"] .app-content::after { background-image: linear-gradient(rgba(165,139,94,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(165,139,94,.035) 1px, transparent 1px), linear-gradient(103deg, transparent 20%, rgba(255,255,255,.6) 52%, transparent 78%); }
.community-social-shell { color: #292a2e; }
.community-social-identity { border-color: #dedfdd; border-left-color: #a58b5e; box-shadow: 0 11px 25px rgba(35,36,40,.055); }
.community-social-avatar { border-color: #ededeb; background: #4b4d53; }.community-social-avatar.mine { background: #28292e; }
.community-social-identity p strong,.community-social-identity-stats b { color: #292a2f; }.community-social-identity p span,.community-social-identity-stats button { color: #7e8086; }.community-social-identity-stats button:hover b { color: #8b724b; }
.community-social-profile-link { color: #595b61; border-color: #d9dad7; }.community-social-profile-link:hover { color: #fff; border-color: #34353a; background: #34353a; }
.community-social-search-input { color: #8d8f94; border-color: #dcddda; box-shadow: 0 4px 12px rgba(34,35,39,.025); }.community-social-search-input:hover { color: #5f626a; border-color: #bbb4a7; }.community-social-search-input svg,.community-social-message { color: #90774e; }.community-social-message { border-color: #dcddda; }.community-social-message:hover { color: #fff; border-color: #34353a; background: #34353a; }.community-social-message em { border-color: #f5f5f2; background: #9b8155; }
.community-social-tabs { border-bottom-color: #dfdfdc; }.community-social-tabs button { color: #777a81; }.community-social-tabs button:hover { color: #34353a; background: #f0f0ed; }.community-social-tabs button.active { color: #2e3035; border-bottom-color: #9b8155; }
.community-social-feed-label span { color: #303137; }.community-social-feed-label small { color: #898b91; }
.community-social-post { border-color: #dfdfdc; box-shadow: 0 6px 18px rgba(29,30,34,.035); }.community-social-post:hover { border-color: #c8c4ba; box-shadow: 0 10px 24px rgba(29,30,34,.06); }.community-social-author:hover strong { color: #846d48; }.community-social-author strong { color: #2a2b30; }.community-social-author small { color: #7d7f85; }
.community-social-follow { color: #fff; border-color: #34353a; background: #34353a; }.community-social-follow:hover { border-color: #5a5b5f; background: #5a5b5f; }.community-social-follow.is-following { color: #6a6c72; border-color: #dbdcd9; background: #fff; }.community-social-follow.is-following:hover { color: #806a48; border-color: #b9a681; }.community-social-follow.is-mine { color: #5b5d63; border-color: #dbdcd9; background: #fafaf8; }.community-social-follow.is-mine:hover { color: #fff; border-color: #34353a; background: #34353a; }
.community-social-topic span { color: #735f42; background: #f0ece4; }.community-social-topic b { color: #5b786d; }.community-social-post h2 { color: #25262b; }.community-social-post > p { color: #61646a; }.community-social-more,.community-social-reaction:hover,.community-social-reaction.selected { color: #806a48; }.community-social-more:hover { color: #2d2e33; }.community-social-media { background: #303136; }.community-social-proof { color: #76787e; border-left-color: #9b8155; background: #f7f6f2; }.community-social-proof svg { color: #5f7a70; }.community-social-post-footer { border-top-color: #e6e6e2; }.community-social-reaction { color: #707279; }
.community-social-protection,.community-social-growth { border-color: #dedfdd; box-shadow: 0 6px 16px rgba(29,30,34,.025); }.community-social-protection > span { background: #34353a; }.community-social-protection h2 { color: #2b2c31; }.community-social-protection p { color: #777a80; }.community-social-protection p svg { color: #5c786e; }.community-social-protection .text-button { color: #806a48; }.community-social-protection .text-button:hover { color: #2d2e33; }.community-social-growth { background: #fafaf8; }.community-social-growth > span { color: #888a90; }.community-social-growth strong { color: #3c3d42; }.community-social-growth b { color: #8a724b; }.community-social-growth > i { background: #e2e1dd; }.community-social-growth > i em { background: #8d7650; }.community-social-growth p { color: #7d7f85; }.community-social-growth .secondary-button { color: #5c5e64; border-color: #d9dad7; }.community-social-growth .secondary-button:hover { color: #fff; border-color: #34353a; background: #34353a; }
.nav-item:focus { outline: none; }.nav-item:focus-visible { outline: 2px solid #b19a6d; outline-offset: -2px; }
