/* Homepage revision: loaded after the existing theme. */
.simple-hero{position:relative;isolation:isolate;overflow:hidden;background:#f7f9fb}.home-assembly{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 52%;z-index:-2}.simple-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.88) 48%,rgba(255,255,255,.28));z-index:-1}.simple-hero-grid{grid-template-columns:minmax(0,1fr) 320px;gap:40px;padding-top:28px;padding-bottom:28px;min-height:0}.simple-hero h1{font-size:36px;line-height:1.4}.simple-hero-copy>p{margin:16px 0 22px;color:#43516a}.news-deck{padding-bottom:30px}.news-slide{aspect-ratio:auto;min-height:270px;padding:22px;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none}.news-slide>img{-webkit-user-drag:none;pointer-events:none}.news-slide h2{font-size:23px}.news-controls{bottom:0}.news-controls button{width:32px;height:30px}.legacy-discovery{padding-top:30px}.legacy-discovery .section-top{margin-bottom:18px}.legacy-discovery h2{max-width:none}.home-filter-bar{position:relative;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:12px}.home-filter-bar .chips{display:flex;gap:8px;flex-wrap:nowrap}.home-filters{position:relative;flex:none;z-index:5}.home-filters summary{list-style:none;display:flex;align-items:center;gap:14px;cursor:pointer;padding:10px 15px;min-height:42px;border:1px solid #d9dfe6;border-radius:6px;font-size:14px;font-weight:650;background:white;color:#172b49}.home-filters summary::-webkit-details-marker{display:none}.home-filters summary:focus-visible{outline:2px solid #627da5;outline-offset:3px}.home-filters[open] summary{border-color:#172b49}.home-filter-panel{position:absolute;top:calc(100% + 8px);right:0;width:310px;max-width:calc(100vw - 40px);padding:20px;border:1px solid #dce1e7;border-radius:8px;background:#fff;box-shadow:0 10px 32px #172b4920}.home-filter-panel fieldset{padding:0;border:0;margin:0 0 18px;min-width:0}.home-filter-panel legend,.home-filter-panel>label{font-size:13px;font-weight:750;margin-bottom:9px;display:block}.home-filter-options{display:flex;gap:6px;flex-wrap:wrap}.home-filter-options button{padding:8px 10px;border:1px solid #dde1e6;border-radius:5px;background:#fff;color:#41516a;font-size:12px;min-height:36px}.home-filter-options button.active{background:#172b49;color:#fff;border-color:#172b49}.home-filter-panel select{width:100%;font-size:14px;min-height:42px}.home-filter-panel>p{font-size:11px;line-height:1.5;color:#667286;margin:8px 0 0}.issue-invitation{padding:30px;margin-bottom:24px}.issue-invitation>.btn{font-size:15px;font-weight:750;min-height:48px;white-space:nowrap;padding:14px 22px}.issue-invitation p{color:#526076}.nh-home-entry{margin:0 0 28px}.process-bottom{margin-top:28px;padding:30px 0!important}.process-bottom h2{font-size:28px}.process-bottom .how-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:30px}.process-bottom .how-steps>div{border:0;padding:18px 10px;position:relative}.process-bottom .how-steps>div:not(:last-child):after{display:block;content:'→';position:absolute;right:-25px;top:32px;width:24px;color:#b73543;font-size:25px}.process-bottom .step-number{position:static;display:block;font-size:18px;margin-bottom:14px}.process-bottom .how-steps b{font-size:19px}.process-bottom .how-steps p{font-size:14px;color:#526076}.process-bottom .how-steps>div:nth-child(2) p{color:#526076}
/* One content rail for navigation, hero and every home section. */
.header-inner,.wrap{box-sizing:border-box;width:100%;max-width:1200px;margin-left:auto;margin-right:auto;padding-left:28px;padding-right:28px}
.simple-hero-grid{width:100%;max-width:1200px;padding-left:28px;padding-right:28px}
.legacy-discovery,.legacy-discovery .project-grid{max-width:none;width:100%}
footer{padding-left:max(28px,calc((100% - 1144px)/2));padding-right:max(28px,calc((100% - 1144px)/2))}
@media(max-width:760px){.header-inner,.wrap,.simple-hero-grid{padding-left:20px;padding-right:20px}.legacy-discovery .project-grid{max-width:none}footer{padding-left:20px;padding-right:20px}}
@media(max-width:760px){.simple-hero-grid{grid-template-columns:1fr;gap:20px;padding-top:25px;padding-bottom:20px}.simple-hero:before{background:linear-gradient(180deg,#ffffffed,#ffffffe0 48%,#ffffffa8)}.simple-hero h1{font-size:27px;letter-spacing:-1.1px}.simple-hero-copy>p{font-size:13px;margin:12px 0 17px}.simple-hero .hero-actions{gap:14px}.news-deck{width:100%;max-width:none;padding-bottom:32px}.news-slide{min-height:215px;padding:20px}.news-slide h2{font-size:22px;line-height:1.3;margin-bottom:7px}.news-link{padding-top:9px}.news-slide p{font-size:12px}.home-filter-bar .chip{font-size:12px;padding:10px 12px;white-space:nowrap}.home-filters summary{font-size:12px;padding:9px 12px;gap:8px}.home-filter-panel{width:290px}.issue-invitation{padding:25px 0}.issue-invitation>.btn{font-size:15px}.process-bottom h2{font-size:24px}.process-bottom .how-steps{grid-template-columns:1fr;gap:22px}.process-bottom .how-steps>div{padding:8px 0 8px 52px;min-height:88px}.process-bottom .step-number{position:absolute;left:0;top:10px;width:32px;font-size:18px}.process-bottom .how-steps>div:not(:last-child):after{content:'↓';left:5px;right:auto;top:auto;bottom:-25px;width:20px;font-size:22px}.process-bottom .how-steps>div:not(:last-child):before{content:'';display:block;position:absolute;left:14px;top:42px;bottom:0;width:1px;background:#dce1e7}.process-bottom .how-steps b{font-size:18px;padding-right:0}.process-bottom .how-steps p{font-size:13px}.nh-home-entry{margin-bottom:22px}}

.recipient-search{display:flex;gap:8px}.recipient-search .input{min-width:0;flex:1}.recipient-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.recipient-results button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;white-space:normal;padding:12px;gap:4px}.recipient-results small{font-weight:400;font-size:12px;line-height:1.5}.recipient-results>p{grid-column:1/-1}.requested-people{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
@media(max-width:760px){
 .legacy-discovery .project-grid{grid-template-columns:minmax(0,1fr)}
 .legacy-discovery .project-card:nth-child(n+4){display:none}
 .explorer-page .project-card:is(:nth-child(2),:nth-child(3)){display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;align-items:center;padding:10px}
 .explorer-page .project-card:is(:nth-child(2),:nth-child(3)) .card-photo{width:80px;height:80px}
 .explorer-page .project-card:is(:nth-child(2),:nth-child(3)) :is(.category,.card-progress,.photo-tag){display:none}
 .explorer-page .project-card:is(:nth-child(2),:nth-child(3)) .card-body{padding:0;min-height:0}
 .explorer-page .project-card:is(:nth-child(2),:nth-child(3)) .card-bottom{padding:0;margin:4px 0 0}
}
.proposal-card-sample{max-width:360px;margin:16px 0 32px}.proposal-card-sample .card-photo img{object-fit:cover}
.simple-hero .simple-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,.95fr);align-items:center}
.hero-compose label{display:block;margin:0 0 12px;color:#172b49;font-size:clamp(1rem,1.6vw,1.25rem);font-weight:700}
.hero-paper{display:flex;flex-direction:column;box-sizing:border-box;min-height:185px;padding:16px;background:white;border:1px solid #dce1e6;border-radius:12px;box-shadow:0 3px 12px #172b490d}
.hero-paper:focus-within{border-color:#9c5964}.hero-paper textarea{flex:1;width:100%;padding:3px;margin:0;resize:none;border:0;background:transparent;font:inherit;color:#172b49;outline:0}.hero-paper textarea::placeholder{color:#687381}
.hero-paper button{display:inline-flex;align-items:center;align-self:flex-end;gap:12px;background:transparent;border:0;font:inherit;color:#455164;cursor:pointer}.hero-paper button span{display:grid;place-items:center;border-radius:50%;width:44px;height:44px;background:#b33146;color:white;font-size:23px}
@media(max-width:760px){.simple-hero .simple-hero-grid{grid-template-columns:1fr;gap:16px}.hero-paper{min-height:150px}.simple-hero-copy>p{margin-bottom:0}}

.card-bottom:has(.card-deadline){display:flex;align-items:center;justify-content:flex-start;gap:.65rem}.card-bottom .card-deadline,.collection-count,.mobile-support small{white-space:nowrap;font-variant-numeric:tabular-nums}.collection-count{font-weight:700;margin-bottom:.65rem}


.project-card .card-copy{display:block;flex:0 0 auto;min-height:1.6em;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:4px 0}.card-body{min-width:0}.support-line{white-space:nowrap}.mobile-support strong.support-line{font-size:clamp(13px,3.6vw,16px)}.mobile-support:has(.support-line){grid-template-columns:max-content minmax(0,1fr) auto}.card-bottom .card-heart{white-space:nowrap}


#proposal-form :is(input,textarea):focus::placeholder{opacity:0}

.proposal-resume-row{display:flex;align-items:center;gap:12px;margin:0 0 20px;font-size:14px}.proposal-resume-row .btn{flex:none;min-height:36px;padding:6px 12px;white-space:nowrap;border:1px solid #cbd2da;background:white;color:#172b49}
.project-card .card-body h3,.project-card .card-body p.card-copy{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere;min-height:0}
@media(min-width:761px){
/* Home walkthrough and proposal invitation */
#how.process-bottom .process-heading{text-align:start}
#how.process-bottom .how-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
#how.process-bottom .how-steps>div{padding:22px;border:1px solid var(--line,#ddd);border-radius:12px;min-height:0}
#how.process-bottom .how-steps>div::before,#how.process-bottom .how-steps>div::after{display:none}
#how.process-bottom .how-steps .step-number{position:static;width:auto;height:auto;margin:0 0 12px;font-size:30px;line-height:1}
#how+.issue-invitation{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:clamp(20px,3vw,40px);border:1px solid var(--line,#ddd);border-radius:14px}
}
@media(max-width:760px){
.home-bottom-layout{display:flex;flex-direction:column}
.home-bottom-layout #how{order:1}
#how .how-steps>div:not(:last-child)::after{display:none}
}
dialog.draft-progress[open]{position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:none;box-sizing:border-box;border:0;padding:24px;display:grid;place-items:center;background:white;text-align:center}.draft-progress>div{max-width:34rem}.draft-progress p{line-height:1.65}.draft-progress .btn{margin-top:18px}.draft-spinner:not([hidden]){display:inline-block;width:36px;height:36px;border:3px solid #ddd;border-top-color:currentColor;border-radius:50%;animation:draft-spin .8s linear infinite}@keyframes draft-spin{to{transform:rotate(1turn)}}@media(prefers-reduced-motion:reduce){.draft-spinner{animation:none!important}}
#how.process-bottom .how-steps .step-number{color:var(--red,#b73543)}
.beta-announcement{background:#162b49;color:white;text-align:center;padding:5px 10px;font-size:clamp(11px,2.9vw,13px);font-weight:600;line-height:1.4;word-break:keep-all}
.simple-hero .simple-hero-copy .hero-vote-line{color:var(--red,#b73543);font-size:clamp(13px,1.25vw,17px);line-height:1.5;font-weight:700;margin:0 0 10px;word-break:keep-all}
.memo-footer,.memo-link-hint,.memo-platforms{display:flex;align-items:center}
.memo-footer{justify-content:space-between;flex-wrap:wrap;gap:6px 12px}
.memo-link-hint{gap:8px;font-size:12px;line-height:1.45;color:#566477}
.memo-platforms{gap:4px;flex:none}.memo-platforms svg{width:15px;height:15px;fill:currentColor}
.memo-footer button{margin-left:auto;white-space:nowrap}.memo-short{display:none}
@media(max-width:700px){.memo-footer{flex-direction:column;align-items:stretch}.memo-long{display:none}.memo-short{display:inline}}
.recent-short{display:none}.home-local{display:flex;align-items:center;gap:12px;margin:12px 0;font-size:14px}@media(max-width:700px){.recent-long{display:none}.recent-short{display:inline}.home-filter-bar,.home-filter-bar .chips{gap:4px}.home-filter-bar .chip{padding:9px 8px}}.local-tier-title{grid-column:1/-1;margin:14px 0 0;font-size:18px}
.home-filters summary{box-sizing:border-box;min-height:36px;padding-block:6px;line-height:1.25}.home-filters summary svg{display:block;flex:none}.home-filters[open] summary svg{transform:rotate(180deg)}

.proposal-entry.hero-compose{width:min(34rem,calc(100% - 32px));margin:clamp(40px,12vh,120px) auto;text-align:center}
.proposal-entry .hero-paper{text-align:left}
.proposal-entry [hidden]{display:none!important}
.proposal-entry-actions{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:20px}
.proposal-entry [data-draft-status] p{margin:6px 0 16px}

body:has(.proposal-entry.is-drafting) :is(.site-header,.beta-announcement,footer){display:none}
.proposal-entry.hero-compose.is-drafting{box-sizing:border-box;min-height:100svh;margin:0 auto;padding:24px 0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.is-drafting [data-draft-status] h1{margin:22px 0 0;font-size:clamp(24px,4vw,32px);letter-spacing:-.045em;color:#162b49}
.is-drafting .proposal-entry-actions{margin-top:24px}
.is-drafting [data-action="proposal-manual"]{display:none}
.draft-sheet{box-sizing:border-box;width:72px;height:88px;margin:auto;padding:22px 13px;background:white;border:1px solid #ccd5df;border-radius:9px;box-shadow:5px 5px 0 #edf1f5;display:grid;align-content:center;gap:9px}
.draft-sheet i{height:4px;background:#162b49;border-radius:3px;transform-origin:left;animation:draft-writing 2.4s ease-in-out infinite}
.draft-sheet i:nth-child(2){width:84%;animation-delay:.18s}
.draft-sheet i:last-child{width:60%;background:#b73543;animation-delay:.36s}
@keyframes draft-writing{0%,100%{transform:scaleX(.12);opacity:.4}55%,85%{transform:scaleX(1);opacity:1}}
@media(prefers-reduced-motion:reduce){.draft-sheet i{animation:none}}
