/* FOLD: people and progress first, with one shared working surface. */
:root{--fold-ink:#27374f;--fold-muted:#536580;--fold-line:#dce3ef;--fold-blue:#4147f5;--fold-orange:#a74119;--fold-orange-soft:#fff0e7;--fold-mint:#217250;--fold-mint-soft:#e7f6ef}
body{font-size:16px;color:var(--fold-ink)}
.pulse-main,.workspace-main{padding-top:32px}.pulse-page .pulse-nav-label,.workspace-page .sidebar-label{font-size:13px;color:var(--fold-muted)}
.pulse-sidebar nav a,.workspace-sidebar nav a{font-size:14px;min-height:48px}.pulse-breadcrumb,.workspace-breadcrumb{font-size:14px}
.pulse-header .button,.workspace-header .button{font-size:14px}.pulse-header .button:hover,.workspace-header .button:hover,.community-main .button:hover{transform:none}
.pulse-main h1,.workspace-main h1{color:var(--fold-ink)}.pulse-heading p,.directory-heading p,.project-intro,.feed-heading p,.dashboard-description{color:var(--fold-muted);font-size:16px;line-height:1.65}
.pulse-main .button,.workspace-main .button,.community-dialog .button{border-radius:10px;font-size:14px;min-height:44px}
.button-orange{background:var(--fold-orange);color:#fff;box-shadow:none}.button-orange:hover{background:#8d3615}
.directory-badge{font-size:12px}.directory-stage,.recruitment-state,.application-status{font-size:14px;line-height:1.5}
.directory-stage{display:inline-flex;align-items:center;background:#edf0fb;color:#586dae;padding:6px 9px;border-radius:7px;white-space:nowrap}
.stage-recruiting,.recruitment-state.open,.kind-recruitment{background:var(--fold-orange-soft);color:var(--fold-orange)}
.stage-launched,.directory-stage.launched,.status-accepted{background:var(--fold-mint-soft);color:var(--fold-mint)}
.kind-showcase{background:#edf0fe;color:#4757a6}.kind-update{background:var(--fold-mint-soft);color:var(--fold-mint)}
.directory-stage-label,.directory-stage-label select,.directory-search input,.directory-tabs button,.directory-table th{font-size:14px}
.directory-table td{padding-top:20px;padding-bottom:20px}.directory-table small{font-size:13px;color:var(--fold-muted)}.directory-table .directory-mobile-activity{display:none}
.directory-activity-cell b{color:var(--fold-ink);font-size:14px;font-weight:550}.token-connected{display:block;color:var(--fold-mint);font-size:13px;margin-top:8px;line-height:1.6}
.project-title-line .directory-stage{font-family:var(--body);letter-spacing:0}.project-title-group p .directory-badge{margin-left:9px}
.project-social-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start;margin-top:24px}.project-social-layout.prelaunch{margin-top:0}
.project-story,.project-social-aside{display:flex;flex-direction:column;gap:24px;min-width:0}
.project-progress-panel,.project-join-panel{background:#fff;border:1px solid var(--fold-line);border-radius:16px;padding:25px;min-width:0}
.project-progress-panel h2,.project-join-panel h2,.project-section-heading h2,.project-team-panel h2,.project-token-panel h2{font-size:20px;letter-spacing:-.45px;line-height:1.4;margin:0}
.project-progress-panel>p{font-size:16px;line-height:1.65;color:var(--fold-muted)}
.progress-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.progress-value{font-family:var(--display);font-size:30px;font-weight:650;color:var(--fold-blue);letter-spacing:-1px}
.public-progress-track{height:8px;background:#e9edf8;border-radius:6px;overflow:hidden;margin:22px 0}.public-progress-track i{display:block;height:100%;background:var(--fold-blue);border-radius:6px}
.progress-milestone{display:flex;flex-direction:column;gap:8px;margin:0 0 16px}.progress-milestone>span{font-size:14px;color:var(--fold-muted)}.progress-milestone>b{font-size:18px;line-height:1.55;font-weight:550;color:var(--fold-ink);overflow-wrap:anywhere}
.project-progress-panel>small{font-size:13px;color:var(--fold-muted);line-height:1.65}
.project-join-panel{background:#fff8f3;border-color:#eed7c9}.join-count{font-size:14px;color:var(--fold-orange);display:block;margin-bottom:13px;font-weight:550}.project-join-panel h2{font-size:22px}.project-join-panel p{font-size:16px;line-height:1.6;color:#705a4e;margin:14px 0 20px}.project-join-panel .button{width:100%;justify-content:center}
.project-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:6px 0 17px}.project-section-heading a{font-size:14px;color:#465ac3;white-space:nowrap}.project-updates .community-card+.community-card{margin-top:16px}
.project-social-aside .project-team-panel,.project-social-aside .project-token-panel{padding:23px}.project-social-aside .project-team-panel>h2{margin-bottom:20px}.team-profile p{font-size:13px;color:var(--fold-muted)}
.public-member-list{display:flex;flex-direction:column;gap:16px;margin-top:21px}.public-member-list>div{display:flex;gap:10px;align-items:center;min-width:0}.public-member-list>div>div{min-width:0}.public-member-list b{display:block;font-size:14px;overflow-wrap:anywhere}.public-member-list small{display:block;font-size:13px;line-height:1.6;color:var(--fold-muted)}
.project-role-tags>span,.roles-heading{font-size:14px}.project-token-panel>h2{font-size:17px!important;margin-bottom:12px}.project-token-panel>p{font-size:14px;color:var(--fold-muted);line-height:1.65}.token-address{display:block;overflow-wrap:anywhere;font-size:13px;color:#465bc3;line-height:1.7;margin-top:10px}
.market-stat>span{font-size:14px}.market-stat small,.market-definition,.chart-disclosure,.chart-bottom{color:var(--fold-muted);font-size:13px}
/* Posts use compact metadata and clear participation states. */
.feed-layout{grid-template-columns:minmax(0,1fr) 285px;gap:24px}.feed-posts{gap:16px}.community-card{border-radius:16px}.community-card>header{align-items:start;padding:20px 22px 0;gap:12px}.post-author{flex:1;min-width:0}.post-author b{font-size:15px}.post-author small{display:inline;font-size:13px!important;margin-right:12px}.post-author .post-project-link{display:block;font-size:14px;margin-top:6px;line-height:1.5}.post-badges{display:flex;flex-direction:column;align-items:flex-end;gap:7px;max-width:45%}.post-badges .post-kind{font-size:13px;white-space:normal;text-align:right}.post-badges .recruitment-state{font-size:13px}
.post-card-body{padding:14px 22px 19px}.post-card-body h2{font-size:22px;line-height:1.4;margin:5px 0 11px}.post-copy{line-height:1.65;color:#4b607b}.community-card:not(.community-full) .post-image{max-height:260px;object-fit:contain;margin-top:17px}.community-card>footer{padding:13px 22px;font-size:14px;gap:17px}.post-primary-link{color:#414bd1;font-weight:600}.share-x{color:#586884}.recruitment-tags>span{font-size:14px;line-height:1.45}.community-full .post-copy{line-height:1.7}
.feed-aside{gap:17px}.community-aside-card{padding:22px;border-radius:16px}.community-aside-card p{color:var(--fold-muted);line-height:1.65;font-size:14px}.feed-personal{background:#edf0fd;border-color:#dbe1f5}.feed-personal>a{font-weight:500}.feed-recruit-action{display:block;color:var(--fold-orange);background:#fff0e7;border-radius:8px;padding:11px 13px;margin-top:20px;font-size:14px;width:100%;text-align:left}.aside-heading{display:flex;justify-content:space-between;align-items:start;gap:15px}.aside-heading>a{font-size:13px;color:#4a5cc1;white-space:nowrap;line-height:1.9}
.feed-role-link{display:flex;flex-direction:column;gap:5px;padding:15px 0;border-bottom:1px solid var(--fold-line)}.feed-role-link:last-child{border-bottom:0;padding-bottom:0}.feed-role-link b{font-size:15px;color:var(--fold-ink)}.feed-role-link span{font-size:14px;color:#4f63a7}.feed-role-link small{font-size:13px;color:var(--fold-muted);line-height:1.6}
.feed-activity{background:transparent;border:0;padding-top:8px}.feed-activity #feed-stats b{font-size:22px}.feed-project-context{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:13px 16px;background:#eaf0ff;border-radius:10px;font-size:14px;margin-bottom:22px}.feed-project-context a:first-child{font-weight:600;color:#4053b5}.feed-project-context>a:last-child{margin-left:auto;color:#50627f}.feed-project-context>span{color:#536580}.open-roles-filter[aria-pressed=true]{background:#fff0e7!important;color:var(--fold-orange)!important;border-color:#e8cbbb!important}
/* The project dashboard is a page; dialogs are reserved for short edits. */
.dashboard-main{max-width:1500px}.dashboard-main .community-back{margin-bottom:24px}.project-dashboard-heading{gap:24px}.project-dashboard-heading h1{font-size:34px;letter-spacing:-1px;line-height:1.35;margin:13px 0 8px;overflow-wrap:anywhere}.project-dashboard-heading p{font-size:16px;color:var(--fold-muted);margin:0;line-height:1.6}.project-heading-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.project-visibility{font-size:14px;color:var(--fold-muted)}.dashboard-heading-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.project-activity-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:28px 0}.project-activity-stats>button{background:white;border:1px solid var(--fold-line);border-radius:12px;padding:20px;text-align:left;display:flex;flex-direction:column;gap:8px;min-width:0}.project-activity-stats>button b{font-size:30px;line-height:1.2;color:var(--fold-ink);font-family:var(--display)}.project-activity-stats>button span{font-size:14px;line-height:1.5;color:var(--fold-muted)}.project-activity-stats>button.needs-attention{background:#fff5ed;border-color:#e7cbb7}.project-activity-stats>button.needs-attention b{color:var(--fold-orange)}
.dashboard-attention{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#fff2e7;color:#834322;border:1px solid #ecd6c6;border-radius:10px;padding:14px 17px;margin:-7px 0 25px;font-size:14px;line-height:1.6}.dashboard-attention button{background:none;color:#8d3917;font-size:14px;text-decoration:underline;text-underline-offset:3px}
.project-dashboard-tabs{display:flex;gap:8px;margin:0 0 27px;border-bottom:1px solid var(--fold-line);padding-bottom:13px}.project-dashboard-tabs button{font-size:14px;padding:11px 16px;border-radius:8px}.project-dashboard-tabs button[aria-pressed=true]{background:#e8ecff;color:#414bc5;font-weight:600}
.project-dashboard-overview{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.dashboard-status-panel{padding:26px;background:white;border:1px solid var(--fold-line);border-radius:16px}.dashboard-status-panel h2,.project-next-actions h2,.dashboard-section-heading h2{font-size:21px;letter-spacing:-.5px;line-height:1.45}.dashboard-description{margin:14px 0 23px;overflow-wrap:anywhere;white-space:pre-wrap}.dashboard-main label{display:flex;flex-direction:column;gap:9px;font-size:14px;color:#465976;margin-top:20px}.dashboard-main input,.dashboard-main select{font-size:16px;border:1px solid #cad5e6;border-radius:10px;line-height:1.5;padding:12px;color:#344c6d;background:#fafbff;min-width:0;width:100%;outline:none}.dashboard-main input:focus,.dashboard-main select:focus{border-color:#5b66ce;box-shadow:0 0 0 3px #5667e314}.dashboard-save-row{display:flex;align-items:center;gap:17px;margin-top:22px}#progress-saved{color:var(--fold-mint);font-size:14px}
.project-next-actions{padding:0;border:0}.project-next-actions h2{margin:0 0 17px}.project-next-actions>button{width:100%;text-align:left;padding:19px 20px;border:1px solid var(--fold-line);border-radius:12px;background:white;margin:0 0 12px}.project-next-actions>button:first-of-type{background:#fff2e9;border-color:#efd7c5}.project-next-actions>button b{font-size:16px;line-height:1.5;color:var(--fold-ink)}.project-next-actions>button span{font-size:14px;line-height:1.6;display:block;margin-top:6px;color:var(--fold-muted)}
.dashboard-posts h3{font-size:18px;margin:12px 0 8px;line-height:1.5}.dashboard-posts>article{border-radius:12px}.dashboard-section-heading{margin-bottom:20px}.dashboard-section-heading>span{font-size:14px;line-height:1.6}.dashboard-post-actions button,.dashboard-post-actions a{font-size:14px}.dashboard-members>article{background:white;border:1px solid var(--fold-line);border-radius:12px;padding:19px}.dashboard-members small{font-size:14px}.dashboard-members button{font-size:14px}.listing-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:25px}.listing-actions .text-button{font-size:14px;color:#a04126}
.owned-project{padding:24px;border-radius:16px}.owned-project-bottom>span{font-size:14px;line-height:1.65;max-width:70%;overflow-wrap:anywhere}.owned-project-bottom>button{font-size:14px}.owned-progress-caption,.owned-activity-summary,.owned-category{font-size:14px}.owned-project p{font-size:16px;color:var(--fold-muted);line-height:1.65}.private-label{font-size:12px}.section-kicker{font-size:12px}.my-community-links a{font-size:14px}
/* A scrollable form body and a persistent publishing action. */
dialog.community-composer[open]{display:flex;flex-direction:column;overflow:hidden;height:min(850px,90dvh);max-height:90dvh;padding:26px 28px 0;max-width:720px}
.community-composer>h2{font-size:27px;margin:2px 35px 17px 0;flex-shrink:0}.community-composer #community-compose{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}.composer-fields{overflow:auto;min-height:0;padding:0 5px 23px 0;scrollbar-width:thin}.composer-fields>label:first-child{margin-top:0}.composer-fields textarea{min-height:115px;max-height:270px}.community-composer label{margin-top:16px}.community-composer .form-hint{line-height:1.65!important}.composer-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0;padding:18px 0;border-top:1px solid var(--fold-line);background:white}.composer-actions>span{font-size:13px;color:var(--fold-muted)}.composer-actions .community-submit{margin:0;width:auto;min-width:145px}.community-close{min-width:36px;min-height:36px}.community-dialog input:focus,.community-dialog select:focus,.community-dialog textarea:focus{outline:2px solid transparent}
@media(min-width:1101px){.workspace-sidebar{width:220px}.workspace-shell{margin-left:220px}.workspace-main{padding-left:34px;padding-right:34px}.pulse-main{padding-left:34px;padding-right:34px}}
@media(max-width:1100px){.feed-layout{grid-template-columns:minmax(0,1fr) 255px}.project-social-layout,.project-dashboard-overview{grid-template-columns:minmax(0,1fr) 265px;gap:19px}.project-heading-meta{margin-top:5px}}
@media(max-width:950px){.feed-layout{grid-template-columns:1fr}.feed-aside{display:grid;grid-template-columns:1fr 1fr}.feed-activity{display:none}.project-social-layout,.project-dashboard-overview{grid-template-columns:1fr}.project-social-layout{display:flex;flex-direction:column;gap:20px}.project-story,.project-social-aside{display:contents}.project-social-layout>div>section,.project-social-layout>aside>section{width:100%}#project-progress{order:0}#project-join{order:1}#project-team{order:2}#project-updates{order:3}.project-social-aside .project-token-panel{order:4}.project-next-actions{margin-top:0}.dashboard-heading-actions{justify-content:flex-start}.project-dashboard-heading{align-items:start}.project-dashboard-heading h1{font-size:30px}}
@media(max-width:620px){
 .pulse-main{padding-top:82px}.workspace-main{padding-top:25px}.pulse-mobile-nav{gap:5px}.pulse-mobile-nav a{font-size:14px;padding:10px 11px}.feed-heading h1,.directory-heading h1{font-size:29px}.feed-heading{margin-bottom:22px}.feed-heading p{font-size:16px}.feed-filters button{font-size:14px;padding:9px 10px}.feed-aside{display:none}.feed-project-context{gap:8px}.feed-project-context>a:last-child{margin-left:0;width:100%}
 .community-card>header{padding:18px 16px 0;flex-wrap:nowrap;gap:10px}.post-badges{max-width:41%;gap:5px}.post-badges .post-kind,.post-badges .recruitment-state{font-size:12px}.post-author b{font-size:14px}.post-author small{font-size:12px!important}.post-author .post-project-link{font-size:13px}.community-avatar{width:34px;height:34px}.post-card-body{padding:14px 16px 18px}.post-card-body h2{font-size:21px}.post-copy{line-height:1.65}.community-card>footer{padding:14px 16px;gap:13px;font-size:14px}.share-x{margin-left:auto}.recruitment-tags>span{font-size:13px}
 .directory-heading p,.project-intro{font-size:16px;line-height:1.65}.directory-table .directory-activity-cell{display:none}.directory-table .directory-mobile-activity{display:block;font-size:12px}.directory-project-link b{font-size:15px}.directory-stage{font-size:13px;padding:5px 8px}.directory-badge{font-size:12px}.directory-table td{padding:18px 12px}.directory-table th{font-size:14px}.directory-search input,.directory-stage-label select{font-size:16px}.directory-tabs button{font-size:14px}.token-connected{font-size:12px}.project-title-group>.directory-icon{width:45px;height:45px}.project-title-line h1{font-size:27px}.project-title-group{align-items:start}.project-title-group p .directory-badge{margin:6px 0 0;display:table}.project-progress-panel,.project-join-panel,.project-social-aside .project-team-panel,.project-social-aside .project-token-panel{padding:21px}.progress-milestone>b{font-size:17px}.project-join-panel h2{font-size:22px}.project-join-panel p{font-size:16px}.project-section-heading{margin-top:3px}.project-section-heading h2{font-size:20px}.project-section-heading a{font-size:14px}
 .project-dashboard-heading{display:flex;flex-direction:column;gap:19px;padding:0}.project-dashboard-heading h1{font-size:29px}.dashboard-heading-actions{gap:9px}.project-activity-stats{grid-template-columns:1fr 1fr;gap:11px;margin:24px 0}.project-activity-stats>button{padding:17px}.project-activity-stats>button b{font-size:27px}.project-activity-stats>button span{font-size:14px}.project-dashboard-tabs{gap:3px;flex-wrap:wrap}.project-dashboard-tabs button{font-size:14px;padding:10px 12px}.dashboard-status-panel{padding:21px}.dashboard-status-panel .community-form-grid{grid-template-columns:1fr;gap:0}.dashboard-attention{align-items:start;flex-direction:column}.dashboard-description{font-size:16px}.dashboard-posts>article{padding:19px}.owned-project{padding:23px}.owned-project-bottom{align-items:start;gap:18px}.owned-project-bottom>span{max-width:60%}
 dialog.community-composer[open]{height:94dvh;max-height:94dvh;padding:24px 18px 0;width:calc(100% - 16px);border-radius:16px}.community-composer>h2{font-size:25px;margin-bottom:15px}.composer-actions{padding:14px 0 max(14px,env(safe-area-inset-bottom));gap:12px}.composer-actions>span{max-width:110px;line-height:1.5}.composer-actions .community-submit{min-width:140px}.community-composer input,.community-composer select,.community-composer textarea{font-size:16px}
}
@media(prefers-reduced-motion:no-preference){.public-progress-track i,.owned-progress-track i{transition:width .35s ease}.feed-posts>.community-card{animation:none}}
