.community-home[hidden]{display:none!important}
.community-home{margin:0 0 28px;color:#4d2b22}
.community-jumps{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}
.community-jumps a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid #dfccb2;border-radius:8px;background:#fffaf1;font-size:.8rem;color:#6e3b2b;text-decoration:none}
.community-funding,.community-list-card{border:1px solid #dfd2bf;border-radius:16px;padding:22px;background:#fffdf9;box-shadow:0 5px 20px #572d0e07;min-width:0;scroll-margin-top:90px}
.community-funding{background:linear-gradient(130deg,#fffaf0,#fffdf9);border-top:3px solid #bb8536}
.community-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.community-card-head h2{font:700 1.25rem 'Playfair Display',Georgia,serif;color:#632c24;margin:4px 0 6px;line-height:1.3}
.community-card-head p{font-size:.77rem;color:#816a57;line-height:1.5;margin:0}
.community-kicker{font-size:.68rem;line-height:1.5;text-transform:uppercase;letter-spacing:.07em;font-weight:700;color:#946837}
.community-home button{font:600 .8rem 'DM Sans',sans-serif;min-height:44px;border:1px solid #d9c7ae;border-radius:8px;background:#fffdf9;color:#70432b;padding:8px 12px;cursor:pointer}
.community-home button:hover,.community-jumps a:hover{background:#f6ebdc;border-color:#bd986b}
.community-home button:disabled{opacity:.45;cursor:default}
.community-home :is(button,a,input,ul):focus-visible{outline:3px solid #b67932;outline-offset:3px}
.community-money-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0 24px}
.community-money-grid>div{min-width:0}
.community-money-grid span{display:block;font-size:.75rem;color:#88705b;margin-bottom:6px}
.community-money-grid strong{display:block;font:700 clamp(1.15rem,2.6vw,1.8rem) 'DM Sans',sans-serif;line-height:1.3;color:#6f2921;overflow-wrap:anywhere}
.community-money-grid .community-gap strong{color:#a14b1f}
.community-progress-label{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:.83rem;line-height:1.5;margin-bottom:10px}
.community-progress-label>span{white-space:nowrap;color:#7a603e}
.community-progress{height:14px;border-radius:999px;background:#eae2d5;display:flex;overflow:hidden}
.community-progress>span{height:100%;flex-shrink:0;transition:width .4s ease}
.community-carry-fill{background:#cb9b48}
.community-verified-fill{background:#803d2e}
.community-funding-breakdown{display:flex;gap:10px 24px;flex-wrap:wrap;margin-top:14px;font-size:.8rem;color:#6d523e}
.community-key{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:7px}
.community-key.carry{background:#cb9b48}.community-key.verified{background:#803d2e}
.community-finance-note{font-size:.75rem;color:#87715b;line-height:1.6;margin:12px 0 18px}
.community-funding-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.community-funding-actions a,.community-event a{min-height:44px;display:inline-flex;align-items:center;font-size:.82rem;font-weight:600;color:#75402d;text-decoration:none}
.community-funding-actions .community-primary{background:#873d28;color:#fff7e9;border-radius:9px;padding:10px 16px}
.community-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px;align-items:start}
.community-list-card{padding:18px;border-top:3px solid #b4834f}
.community-list-card:last-child{border-top-color:#7e9b73}
.community-search{display:flex;gap:8px}
.community-search input{width:100%;min-width:0;min-height:44px;border:1px solid #d8c7b1;border-radius:8px;background:#fffefb;color:#5e3c2c;padding:10px 12px;font:16px 'DM Sans',sans-serif}
.community-list-status{font-size:.75rem;line-height:1.5;color:#836e59;margin:12px 0}
.community-rows{list-style:none;margin:0;padding:0;max-height:400px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.community-rows li{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 0;border-top:1px solid #eee3d3;min-width:0}
.community-rows li>div:first-child{min-width:0}
.community-rows strong{font-size:.84rem;line-height:1.5;display:block;overflow-wrap:anywhere}
.community-rows span{display:block;font-size:.74rem;color:#826a53;margin-top:3px}
.community-row-value{text-align:right;flex-shrink:0;font-size:.78rem;color:#735235}
.community-rows .community-verified{color:#3c7046;font-size:.68rem}
.community-pagination{display:flex;gap:10px;align-items:center;justify-content:space-between;border-top:1px solid #eee3d3;padding-top:12px;margin-top:8px}
.community-pagination>span{font-size:.75rem;color:#8b7158;white-space:nowrap}
.community-event{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:12px}
#myHousehold{scroll-margin-top:90px}
@media(max-width:680px){.community-lists{grid-template-columns:minmax(0,1fr)}.community-funding{padding:18px}.community-card-head h2{font-size:1.15rem}.community-money-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.community-money-grid .community-gap{grid-column:1/-1;padding-top:12px;border-top:1px solid #e7d6bc;display:flex;justify-content:space-between;align-items:center;gap:12px}.community-gap span{margin:0}.community-gap strong{font-size:1.5rem}.community-progress-label{align-items:flex-start}.community-progress-label strong{max-width:26ch}.community-jumps{gap:6px}.community-jumps a{font-size:.76rem;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.community-progress>span{transition:none}}

.community-budget-scroll{overflow:auto;max-width:100%}
.community-budget-table{width:100%;border-collapse:collapse;font-size:.85rem}
.community-budget-table th,.community-budget-table td{padding:12px;border-bottom:1px solid #e8dcca;text-align:right;white-space:nowrap}
.community-budget-table th:first-child{text-align:left;white-space:normal;min-width:130px}
.community-budget-table thead{background:#f5ecdc;color:#755031}

/* Reset legacy Portal nav/form rules inside the new dashboard. */
.community-home .community-jumps{position:static;top:auto;height:auto;min-height:0;background:transparent;border:0;box-shadow:none;padding:0;justify-content:flex-start;z-index:auto}
.community-search .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.community-home [id$="-count"]{font-size:.87rem;text-transform:none;letter-spacing:0;color:#815130}
body:has(#financeHub) .pf-wa-fab{display:none}

.community-reserve{margin:20px 0 0;padding:0;border:1px solid #dfd2bf;border-radius:12px;background:#f7f0e5;color:#735b43;font-size:.8rem}
.community-reserve>summary{padding:14px 16px;min-height:48px;cursor:pointer;font-weight:600;line-height:1.5}
.community-reserve>summary span{display:block;font-size:.73rem;font-weight:400;color:#8b755d;margin-top:3px}
.community-reserve-details{padding:0 16px 14px;font-size:.78rem;line-height:1.6}
.community-reserve-details p{margin:6px 0}
.home-reserve-wrap{max-width:1120px;margin:0 auto 24px;padding:0 16px}
.home-reserve-wrap[hidden]{display:none}
.home-funding{max-width:1120px;margin:12px auto 0;background:#fff8ec;border:1px solid #d5ae73;border-radius:14px;padding:12px 16px;color:#6c3524}
.home-funding-head{display:flex;justify-content:space-between;gap:12px;align-items:center}
.home-funding-head h2{font:700 .95rem 'DM Sans',sans-serif;color:#75432a;margin:0}
.home-funding a{display:inline-flex;align-items:center;min-height:44px;font-size:.8rem;font-weight:600;color:#873d28;text-decoration:none}
.home-funding-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:3px 0 10px}
.home-funding-metrics span{display:block;font-size:.73rem;color:#896d52;margin-bottom:3px}
.home-funding-metrics strong{display:block;font:700 1.35rem 'DM Sans',sans-serif;color:#783526;font-variant-numeric:tabular-nums}
.home-funding .community-progress{height:8px}
.home-funding .community-verified-fill{background:#a6532a;animation:community-progress-reveal .85s ease both;transform-origin:left}
.home-funding-caption{font-size:.73rem;color:#8a6948;margin:8px 0 0;line-height:1.4}
@media(max-width:680px){.home-funding{padding:10px 12px;margin-top:10px}.home-funding-head h2{font-size:.85rem}.home-funding-head a{font-size:.73rem}.home-funding-metrics{gap:8px}.home-funding-metrics strong{font-size:1.05rem}.home-funding-metrics span{font-size:.7rem}}

/* Compact landing summary: keep the numbers, free room for the Chhath scene. */
.home-funding{padding:8px 12px;border-radius:12px}
.home-funding-head{position:relative;min-height:28px;padding-right:100px}
.home-funding-head h2{font-size:.85rem}
.home-funding-head a{position:absolute;right:0;top:50%;transform:translateY(-50%);min-height:44px;font-size:.73rem}
.home-funding-metrics{gap:10px;margin:3px 0 6px}
.home-funding-metrics span{font-size:.7rem;margin-bottom:2px}
.home-funding-metrics strong{font-size:1.15rem}
.home-funding .community-progress{height:6px}
.home-funding-caption{margin-top:5px;font-size:.7rem}
@media(max-width:680px){.home-funding{padding:8px 12px}.home-funding-head h2{font-size:.8rem}.home-funding-head a{font-size:.7rem}.home-funding-metrics strong{font-size:1.05rem}}

.home-funding a.home-funding-link{display:block;min-height:44px;font-weight:400}
.home-funding-head{min-height:26px;padding-right:0}
.home-funding-head>span{font-size:.7rem;white-space:nowrap}
.home-funding-link:focus-visible{outline:2px solid #873d28;outline-offset:5px;border-radius:4px}
