/* Community B: light, compact app. Intentionally scoped away from /community/. */
body.member-app{color-scheme:light;--ink:#f8f6ef;--surface:#f2f0e7;--text:#20291c;--muted:#686d60;--line:#dcded2;--gold:#b49851;background:#faf8f2;color:var(--text);font-family:'DM Sans',sans-serif;line-height:1.5}body.member-app *{box-sizing:border-box}body.member-app :is(h1,h2,h3,h4){font-family:'DM Sans',sans-serif;color:#20291c;letter-spacing:-.5px}body.member-app a{color:inherit}body.member-app>header{position:sticky;top:0;z-index:25;display:flex;align-items:center;gap:12px;background:#faf8f2f5;border-bottom:1px solid var(--line);padding:12px 24px;min-height:66px;backdrop-filter:blur(12px)}.member-app .identity{color:#222b1d}.member-app .identity img{width:38px;height:38px;border-radius:10px}.member-app .identity small,.member-app .header-links,.member-app .community-intro,.member-app .intro-note,.member-app>footer{display:none}.member-app #app-top-actions{margin-left:auto;display:flex;gap:6px;align-items:center}.member-app .app-icon-button,.member-app .notification-bell{position:relative;display:inline-grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:#2a351f;padding:10px}.member-app svg{width:22px;height:22px;flex-shrink:0}.member-app .notification-count,.member-app #app-inbox-count{position:absolute;top:2px;right:0;background:#b5984e;color:white;border-radius:20px;padding:0 5px;min-width:18px;font-size:10px;line-height:18px}.member-app #status:empty{display:none}.member-app #status{margin:8px auto;max-width:700px;color:#5e653f}.member-app main{padding-top:0}.member-app .community-shell{padding-top:20px;padding-bottom:100px;gap:28px}.member-app .sidebar{background:transparent;border:0}.member-app .sidebar-note,.member-app .sidebar>.eyebrow{display:none}.member-app #community-nav button{background:none;border-color:transparent;color:#525e46;border-radius:12px;min-height:44px;font-size:13px}.member-app #community-nav button.active{color:#24331c;background:#e7eadb}.member-app #right-rail{display:none}.member-app .community-shell{grid-template-columns:190px minmax(0,700px);justify-content:center}.member-app #workspace{min-width:0}.member-app .workspace-heading{margin:0 0 14px;padding:0;border:0}.member-app .workspace-heading h1{font-size:28px;line-height:1.2;margin:0;font-weight:750}.member-app .workspace-heading>.eyebrow{display:none}.member-app .app-feed-tabs{display:flex;gap:8px;margin:0 0 16px}.member-app .app-feed-tabs button{flex:1;min-height:40px;background:transparent;border:1px solid #d7d9cb;color:#26331f;border-radius:24px;font-size:13px;font-weight:600}.member-app .app-feed-tabs button[aria-selected=true]{background:#414d30;color:#fff;border-color:#414d30}.member-app .app-utilities{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.member-app .app-utilities>a,.member-app .app-utilities>button{min-width:0;display:flex;align-items:center;gap:10px;background:#f0eee4;border:1px solid #e9e7dd;padding:11px;border-radius:12px;color:#25351e;text-align:left;text-decoration:none}.member-app .app-utilities span{min-width:0;flex:1}.member-app .app-utilities strong{font-size:12px;font-weight:650;display:block}.member-app .app-utilities small{font-size:10px;display:block;color:#747967;margin-top:2px}.member-app .app-utilities svg:first-child{background:#e0e4d2;box-sizing:content-box;padding:8px;border-radius:50%;width:19px;height:19px}.member-app .app-utilities svg:last-child{width:14px}.member-app .app-composer{display:flex;align-items:center;gap:10px;min-height:64px;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:transparent;width:100%;text-align:left;color:#777c70;margin:0 0 2px;padding:10px 0}.member-app .app-composer>span:not(.avatar){flex:1;border:1px solid #dadccf;border-radius:30px;padding:11px 10px;font-size:12px}.member-app .avatar{background:#dfe3d2;color:#616f4f;border-color:#d3d9c8;width:38px;height:38px}.member-app .post-card,.member-app .editorial-card{background:transparent;border:0;border-bottom:1px solid var(--line);box-shadow:none;border-radius:0;padding:18px 0;margin:0}.member-app .post-top{display:flex;align-items:center;gap:10px}.member-app .post-top>div{flex:1}.member-app .person-name{color:#222d1d;font-weight:700;font-size:14px;background:none}.member-app time,.member-app .post-top time{font-size:11px;color:#777c70;display:block;margin-top:2px}.member-app .post-body{font-size:14px;line-height:1.6;color:#273023;margin:12px 0;overflow-wrap:anywhere}.member-app .media-slot{margin:12px 0}.member-app .media-slot img,.member-app .media-slot video{border-radius:12px;max-height:450px;width:100%;object-fit:contain;background:#eceee4}.member-app .post-actions{gap:8px;display:flex;flex-wrap:wrap;margin-top:8px}.member-app .quiet-button{color:#4e6040;background:transparent;border-color:#d5d9cc;font-size:12px;min-height:36px}.member-app .liked{color:#a8873b}.member-app .app-post-menu{position:relative}.member-app .app-post-menu summary{font-size:16px;cursor:pointer;list-style:none;display:grid;place-items:center;width:44px;height:44px;color:#5b6551}.member-app .app-post-menu summary::-webkit-details-marker{display:none}.member-app .app-post-menu>div{position:absolute;right:0;z-index:8;min-width:140px;border:1px solid #d9ddce;background:#faf8f2;padding:8px;box-shadow:0 8px 25px #26341d15;border-radius:12px}.member-app .reply{background:#f0f1e8;border-color:#dfe3d4;border-radius:10px;margin:10px 0;padding:12px}.member-app :is(.panel,.resource-tile,.member-row,.right-rail-card){background:#f3f2e9;color:#273221;border:1px solid #e1e3d5;border-radius:14px;box-shadow:none}.member-app :is(input,textarea,select){color:#25321d;background:#faf9f4;border:1px solid #d4d9c6;border-radius:10px;font-size:16px}.member-app .button{background:#435132;color:#fff;border:1px solid #435132;border-radius:30px;min-height:44px;letter-spacing:0}.member-app .button.outline{background:transparent;color:#40522f;border-color:#a9b398}.member-app .tag{background:#e6eadb;color:#51633c;border-color:#d3dbc3}.member-app .section-note,.member-app .muted{color:#6a7460}.member-app .app-profile-links{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.member-app .empty{background:#f0f2e8;border-color:#dfe4d3;color:#626e54}.member-app dialog{background:#faf8f2;color:#28351f;border:1px solid #d9dfcb;border-radius:22px;padding:24px;max-width:600px}.member-app dialog h2{font-size:22px;margin:0 0 18px}.member-app dialog .panel{padding:0;border:0;background:none}.member-app .close-modal{color:#465638}.member-app .app-menu{display:grid;gap:4px}.member-app .app-menu button{display:flex;align-items:center;justify-content:space-between;min-height:44px;background:transparent;border:0;border-bottom:1px solid #e2e5d8;color:#37492a;text-align:left}.member-app #notifications-dialog{background:#faf8f2}.member-app .notification-item{background:#f2f3e9;color:#33462b;border-color:#dfe5d1}.member-app .notification-item.unread{background:#e7ecd9}.member-app .notification-item small{color:#6b755f}.member-app .notification-list a{color:#33462b}.member-app .plain-article{color:#293820}.member-app .editorial-card h3{font-size:18px}.member-app .member-app-shortcuts{display:none}
body.member-app #community-mobile-nav.fwr-bottom{display:flex;position:fixed;bottom:0;top:auto;left:0;right:0;z-index:30;justify-content:space-around;align-items:center;border-top:1px solid #dcded2;background:#faf8f2f5;padding:7px 8px calc(7px + env(safe-area-inset-bottom));gap:3px;backdrop-filter:blur(12px)}.fwr-bottom a{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:50px;color:#536048;text-decoration:none;font-size:10px}.fwr-bottom a>span{height:30px;min-width:46px;display:grid;place-items:center;border-radius:20px}.fwr-bottom a[aria-current=page]>span{background:#414d30;color:#e3c97f}.fwr-bottom a[data-app-nav=create]>span{background:#c6a85e;color:#fff;min-width:34px;width:34px;height:34px}.fwr-bottom svg{width:23px;height:23px}.member-app .fwr-bottom a[aria-current=page]{color:#354627;font-weight:700}
@media(max-width:760px){body.member-app>header{padding:8px 16px;min-height:60px}.member-app header .identity span{font-size:11px;letter-spacing:1.8px}.member-app .identity img{width:30px;height:30px}.member-app #app-top-actions{gap:0}.member-app .app-icon-button,.member-app .notification-bell{width:36px;height:40px;padding:7px}.member-app .community-shell{display:block;padding:18px 16px 100px}.member-app .sidebar{display:none}.member-app main{padding:0}.member-app .workspace-heading h1{font-size:28px}.member-app .app-utilities{gap:7px}.member-app .app-utilities>a,.member-app .app-utilities>button{padding:9px 7px;gap:6px}.member-app .app-utilities strong{font-size:11px}.member-app .app-utilities small{font-size:9px}.member-app .app-utilities svg:first-child{padding:6px;width:17px;height:17px}.member-app .app-sheet{position:fixed;bottom:0;top:auto;margin:0;width:100%;max-width:none;max-height:88dvh;border-radius:22px 22px 0 0;padding-bottom:calc(24px + env(safe-area-inset-bottom));}.member-app #join-area{padding:16px}.member-app .app-composer>span:not(.avatar){font-size:11px}.member-app .community-intro{display:none}.member-app .resource-grid-small{grid-template-columns:1fr}.member-app .post-card{padding-block:16px}}
@media(prefers-reduced-motion:reduce){body.member-app *{scroll-behavior:auto!important;transition:none!important}}
.member-app .app-post-menu{padding:0;margin:0;border:0;background:none;border-radius:0;flex-shrink:0}.member-app .app-post-menu summary{margin:0;padding:0;min-height:40px;height:40px;width:34px}.member-app .app-post-menu summary::after{display:none!important;content:none!important}.member-app .app-post-menu summary+div{margin-top:0}
/* Contrast overrides for shared feed/article rules from social.css. */
body.member-app #workspace .editorial{background:transparent;border:0;border-bottom:1px solid #dcded2;box-shadow:none;border-radius:0;padding:18px 0;margin:0}body.member-app #workspace .editorial h2{color:#25321e;font-size:19px;line-height:1.35;margin:12px 0 8px}body.member-app #workspace .editorial .muted{color:#65715b}body.member-app #workspace .editorial .quiet-button,body.member-app #workspace .editorial .text-link{color:#445a32}body.member-app #workspace .post-actions .quiet-button{color:#4c603d;opacity:1}body.member-app #workspace .post-actions .quiet-button.liked{color:#9b7c30}body.member-app .profile-photo-slot,body.member-app .photo-placeholder{background:#eeeee3;border-color:#d9ddce;color:#5b6a4b}body.member-app label{color:#35462b}body.member-app details:not(.app-post-menu){background:transparent;color:#435438;border-color:#dce1d0}body.member-app details:not(.app-post-menu)>summary{color:#435438}body.member-app .section-note,body.member-app .editorial p{opacity:1}body.member-app .editorial .tag{background:#e5e9da;color:#566743}

/* Batch 2: the same light community, arranged for a desktop screen. */
@media(min-width:1100px){.member-app .community-shell{max-width:1420px;margin:auto;grid-template-columns:180px minmax(0,650px) 240px;gap:30px;align-items:start;padding-inline:24px}.member-app #right-rail{display:block;position:sticky;top:94px}.member-app #right-rail .right-rail-card{padding:20px;margin-bottom:18px}.member-app #right-rail h3{font-size:17px;margin:0 0 10px}.member-app #right-rail p{font-size:13px}.member-app #right-rail .text-link{color:#435632;font-size:13px}.member-app .sidebar{position:sticky;top:94px}.member-app .workspace-heading h1{font-size:30px}.member-app>header{padding-inline:max(24px,calc((100vw - 1372px)/2))}.member-app #community-nav button{font-size:14px}.member-app .community-shell{padding-bottom:110px}}
.member-app .app-utilities small{font-size:11px}.member-app .app-utilities strong{font-size:13px}.member-app .app-composer>span:not(.avatar){font-size:14px}.member-app .section-note{font-size:12px}.member-app .app-utilities strong,.member-app .app-utilities small{overflow-wrap:anywhere}
@media(max-width:760px){.member-app .app-utilities strong{font-size:12px}.member-app .app-utilities small{font-size:11px}.member-app .app-composer>span:not(.avatar){font-size:13px}.member-app .app-utilities svg:last-child{display:none}}

.member-app .app-desktop-nav{display:grid;gap:6px}.member-app .app-desktop-nav a{display:flex;align-items:center;gap:11px;padding:12px;color:#47543c;text-decoration:none;border-radius:12px;font-size:14px}.member-app .app-desktop-nav a[aria-current=page]{background:#e7eadb;color:#24331c;font-weight:650}.member-app .app-desktop-nav a>span{display:flex}.member-app .app-desktop-explore{margin-top:18px;padding:12px 0;font-size:13px;border-top:1px solid #dcded2}.member-app .app-desktop-explore summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.member-app .app-desktop-explore button{width:100%;text-align:left}
@media(min-width:1100px){body.member-app #community-mobile-nav.fwr-bottom{display:none}.member-app .community-shell{padding-bottom:45px}}

/* Approved Direct sign-in: compact first-party auth, separate from member workspace. */
body.member-app:not(.is-member) .community-intro{display:none}
body.member-app:not(.is-member)>header{max-width:520px;margin:auto;padding:22px 24px;border:0;min-height:78px}
body.member-app:not(.is-member)>header .header-links,body.member-app:not(.is-member)>header .notification-bell{display:none}
body.member-app:not(.is-member)>main{padding:0 22px 30px}
body.member-app .direct-auth{max-width:390px;margin:16px auto 0;color:#25321d}
body.member-app .auth-heading{margin:0 0 26px}
body.member-app .auth-heading h1{font-family:'DM Sans',sans-serif;font-size:30px;line-height:1.2;letter-spacing:-.8px;font-weight:650;margin:0 0 10px;color:#25321d}
body.member-app .auth-heading p{font-size:15px;line-height:1.6;color:#63705c;margin:0}
body.member-app #email-signin .cl-rootBox,body.member-app #email-signin .cl-cardBox{width:100%;max-width:none}
body.member-app #email-signin .cl-card{background:transparent;border:0;box-shadow:none;padding:0;gap:18px}
body.member-app .direct-auth #email-signin .cl-header{display:none}
body.member-app #email-signin .cl-formFieldLabel{color:#35462b;font-size:14px}
body.member-app #email-signin input:not([type=checkbox]):not([type=file]):not([autocomplete=one-time-code]){background:#fffef9!important;color:#25321d!important;-webkit-text-fill-color:#25321d!important;caret-color:#25321d!important;border:1px solid #9ca68f;border-radius:12px;padding:14px 15px;font-size:16px;min-height:50px;box-sizing:border-box;opacity:1}
body.member-app #email-signin input::placeholder{color:#68715f!important;-webkit-text-fill-color:#68715f!important;opacity:1}
body.member-app #email-signin input:-webkit-autofill{-webkit-text-fill-color:#25321d!important;caret-color:#25321d;box-shadow:0 0 0 1000px #fffef9 inset!important}
body.member-app #email-signin .cl-formButtonPrimary{background:#435132;color:#fff;border:0;border-radius:28px;min-height:50px;font-size:15px;font-weight:600;box-shadow:none;text-transform:none}
body.member-app #email-signin .cl-footer{background:transparent;box-shadow:none;border:0;padding:20px 0 0}
body.member-app #email-signin .cl-footerActionText,body.member-app #email-signin .cl-footerActionLink,body.member-app #email-signin .cl-identityPreviewText{color:#435132}
body.member-app #email-signin .cl-otpCodeFieldInputs{gap:8px;max-width:100%;flex-wrap:wrap}
body.member-app #email-signin .cl-otpCodeFieldInput{width:42px;min-width:0;padding:8px!important;text-align:center}
body.member-app .auth-footer{display:flex;justify-content:center;gap:24px;margin:28px 0 0;font-size:13px;color:#526246}
body.member-app #auth-status:not(:empty){font-size:14px;line-height:1.5;color:#953f36;margin:18px 0 6px}
body.member-app .auth-retry{color:#435132;background:transparent;border:1px solid #9ca68f;border-radius:24px;min-height:44px;padding:10px 18px;margin-top:10px;font:inherit}
@media(max-width:380px){body.member-app .auth-heading h1{font-size:27px}body.member-app #email-signin .cl-otpCodeFieldInputs{gap:5px}body.member-app #email-signin .cl-otpCodeFieldInput{width:36px}}
body.member-app .direct-auth:has(.cl-otpCodeField) .auth-heading,body.member-app .direct-auth:has(input[autocomplete=one-time-code]) .auth-heading{display:none}
body.member-app .direct-auth:has(.cl-otpCodeField) #email-signin .cl-header,body.member-app .direct-auth:has(input[autocomplete=one-time-code]) #email-signin .cl-header{display:flex}
/* Keep provider cards and verification digits within the compact app frame. */
body.member-app #email-signin .cl-cardBox{box-shadow:none;border:0;background:transparent}
body.member-app #email-signin .cl-card{width:100%;max-width:100%}
body.member-app #email-signin .cl-otpCodeFieldInputs{display:flex;flex-wrap:nowrap;width:100%;gap:6px}
body.member-app #email-signin .cl-otpCodeFieldInput{width:calc((100% - 30px)/6)!important;max-width:44px!important;min-width:0!important;flex:0 1 44px;padding:6px!important}

/* Clerk renders digits in visual slots over one transparent autofill input. */
body.member-app #email-signin input[autocomplete=one-time-code]{background:transparent!important;color:transparent!important;-webkit-text-fill-color:transparent!important;caret-color:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;min-height:0!important;outline:none!important}

body.member-app #email-signin .cl-main,body.member-app #email-signin .cl-form,body.member-app #email-signin .cl-otpCodeField,body.member-app #email-signin .cl-otpCodeFieldInputContainer{width:100%;min-width:0;max-width:100%}
body.member-app #email-signin .cl-otpCodeFieldInputs{width:100%;gap:6px;justify-content:center}
body.member-app #email-signin .cl-otpCodeFieldInput{flex:0 1 44px!important;width:calc((100% - 30px)/6)!important;max-width:44px!important;min-width:0!important;height:48px;box-sizing:border-box;border:1px solid #9ca68f;border-radius:10px;background:#fffef9;color:#25321d;padding:0!important}
body.member-app #email-signin.cl-rootBox{width:100%;max-width:none}

/* Separate, visible media action while retaining the compact feed composer. */
.member-app .app-composer{display:flex;align-items:center;gap:8px}
.member-app .app-compose-text{display:flex;align-items:center;gap:10px;flex:1;min-width:0;background:transparent;border:0;color:inherit;font:inherit;text-align:left;padding:8px 0;min-height:48px}
.member-app .app-compose-text>span:not(.avatar){font-size:13px;color:#65715b}
.member-app .app-compose-media{display:flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;border:0;border-radius:12px;padding:10px;background:#e7eadb;color:#35462b;font:inherit;font-size:11px;min-height:44px}
.member-app .app-compose-media svg{width:22px;height:22px}
#post-media-selection{font-size:13px;color:#435438;overflow-wrap:anywhere}
