:root:not([data-campaign-closed]) [data-open-campaign],
:root:not([data-campaign-closed]) [data-funding-controls],
:root:not([data-campaign-closed]) #mobileDonate { display: none !important; }

.funding-story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-block: 18px 24px;
  padding: clamp(23px, 5.8vw, 64px);
  border: 1px solid #d5e2d8;
  border-radius: 26px;
  background: #fbfbf6;
  color: #143c2d;
}
.funding-story::before {
  content: "";
  position: absolute;
  inset-inline-end: -110px;
  top: -155px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  z-index: -1;
  background: repeating-radial-gradient(circle, #aebd8323 0 1px, transparent 2px 27px);
  pointer-events: none;
}
.funding-kicker { color: #32654b; font-size: .94rem; font-weight: 700; margin: 0 0 8px; }
.funding-story h1 { color: inherit; font-size: clamp(2rem, 5.8vw, 4rem); line-height: 1.29; margin: 0 0 13px; letter-spacing: -.025em; }
.funding-lead { margin: 0; max-width: 650px; font-size: clamp(1rem, 2.1vw, 1.22rem); line-height: 1.85; }
.funding-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-block: 22px 15px; }
.funding-cards > div { display: grid; gap: 3px; padding: clamp(11px, 2.3vw, 22px); border-radius: 13px; background: #edf3eb; }
.funding-cards span, .funding-cards small { font-size: .82rem; }
.funding-cards strong { font-size: clamp(1.22rem, 3.2vw, 2rem); text-align: right; line-height: 1.3; font-variant-numeric: tabular-nums; }
.funding-meter { height: 12px; border-radius: 99px; background: #dae6d8; overflow: hidden; margin: 16px 0; }
.funding-meter > span { display: block; width: 0; height: 100%; border-radius: inherit; background: #38865b; transition: width .35s ease; }
.next-funding-story { padding: clamp(18px, 3.5vw, 32px); scroll-margin-top: 16px; }
.next-funding-story h2 { margin: 0 0 5px; font-size: clamp(1.38rem, 3.5vw, 2.2rem); line-height: 1.4; }
.next-funding-story .funding-lead { font-size: 1rem; line-height: 1.65; }
.next-funding-story .funding-cards { margin-block: 15px 10px; }
.next-funding-story .funding-meter { height: 8px; margin-block: 10px 0; }
#accountNumbers { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.contribution-history-toggle {
  display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px;
  border: 1px solid #d6e3d5; border-radius: 10px; background: #f6f8f1; color: #275b43; cursor: pointer;
}
.contribution-history-toggle:hover { background: #e9f1e5; }
.contribution-history-toggle:focus-visible { outline: 2px solid #35694d; outline-offset: 2px; }
.my-contributions.share-dialog { width: min(540px, calc(100vw - 28px)); max-height: calc(100dvh - 30px); }
.my-contributions .share-dialog-head { margin-bottom: 14px; }
.next-station-donations { margin-block: 26px; scroll-margin-top: 16px; }
.next-station-donations .next-donations-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.next-donation-search-toggle { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 42px; padding: 6px 11px; border: 1px solid #c7d9c5; border-radius: 9px; background: #f2f7ee; color: #17543b; font: inherit; font-size: .83rem; font-weight: 600; cursor: pointer; }
.next-donation-search-toggle:hover, .next-donation-search-toggle[aria-expanded="true"] { background: #e3efdf; }
.next-donation-search-toggle:focus-visible, .next-donation-search input:focus-visible { outline: 2px solid #35694d; outline-offset: 2px; }
.next-donation-search { margin: 0 0 11px; }
.next-donation-search input { box-sizing: border-box; width: 100%; min-height: 43px; padding: 7px 12px; border: 1px solid #c7d9c5; border-radius: 9px; background: #fff; color: #183f30; font: inherit; font-size: 16px; }
.next-donation-status { margin: 0 0 10px; font-size: .9rem; color: #42604f; }
.next-donation-status:empty { margin: 0; }
.next-donation-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.next-donation-rows li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 10px 12px; background: #f7f9f3; border: 1px solid #dfe8d9; border-radius: 10px; }
.next-donation-rows li.is-large { background: #fff8e7; border-color: #ecd9a8; }
.next-donation-number { min-width: 29px; padding: 4px 5px; border-radius: 7px; background: #e8f0e4; color: #375945; text-align: center; font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.next-donation-name { min-width: 0; overflow-wrap: anywhere; }
.next-donation-value { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: .92rem; }
.next-donation-value b { font-variant-numeric: tabular-nums; color: #184a32; }
.next-donation-star { font: 1rem/1 system-ui, sans-serif; color: #8d5816; }
#nextDonationsMore { margin-top: 12px; }
@media (max-width: 620px) {
  .funding-story { border-radius: 19px; }
  .funding-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-funding-story .funding-cards > div:first-child { grid-column: 1 / -1; }
  [data-campaign-closed="true"] .site-header nav { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .funding-meter > span { transition: none; } }

/* Keep the archived campaign's key information in a single compact view. */
[data-campaign-closed="true"] .topline { display: none; }
[data-campaign-closed="true"] .shell { width: min(1080px, calc(100% - 32px)); }
[data-campaign-closed="true"] .site-header { height: 72px; }
[data-campaign-closed="true"] .site-header .brand img {
  width: 48px; height: 48px; padding: 4px; background: #fff; border: 1px solid #e2e8de; border-radius: 11px;
}
[data-campaign-closed="true"] #contribute { padding-block-start: 8px; }
[data-campaign-closed="true"] .first-call .hero-message h2 { font-size: clamp(1.35rem, 3vw, 2rem); }

.closure-story {
  margin-block: 0 22px;
  padding: clamp(17px, 3.1vw, 34px);
  border-color: #dce6d9;
  background: #fffdf7;
  color: #12392e;
  box-shadow: 0 14px 36px #133a2910;
}
.closure-story::before { content: none; }
.closure-story > .celebration-pieces { z-index: -1; }
.closure-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: center; gap: clamp(18px, 3vw, 34px); }
.closure-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; margin-bottom: 11px; }
.closure-meta time { color: #496559; font-size: .82rem; white-space: nowrap; }
.closure-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 30px;
  background: #e7f0e5; color: #1b5c44; font-size: .83rem; font-weight: 700; line-height: 1.35;
}
.closure-badge::before, .closure-stations span::before {
  content: ""; width: 5px; height: 9px; margin-top: -3px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.closure-story h1 { margin: 0 0 9px; font-size: clamp(1.78rem, 3.55vw, 3rem); letter-spacing: 0; line-height: 1.26; }
.closure-story h1 span { display: block; color: #086048; }
.closure-thanks { margin: 0; color: #36554a; font-size: clamp(.92rem, 1.5vw, 1.07rem); line-height: 1.65; }

.closure-figures {
  position: relative; isolation: isolate; overflow: hidden; padding: 17px 20px 15px;
  border-radius: 17px; background: linear-gradient(125deg, #14513e, #0a372c); color: #f9f8eb;
}
.closure-figures::before {
  content: ""; position: absolute; z-index: -1; inset-inline-end: -104px; inset-block-start: -113px; width: 258px; height: 258px;
  border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 16px, #e5d6a329 17px 18px); pointer-events: none;
}
.closure-total-label { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; font-size: .9rem; font-weight: 600; }
.closure-total-label small { color: #e1e9d9; font-size: .76rem; font-weight: 400; }
.closure-total-value, .closure-stations strong { display: block; text-align: right; line-height: 1.18; white-space: nowrap; font-variant-numeric: tabular-nums; }
.closure-total-value { color: #f6d588; font-size: clamp(2.15rem, 4.8vw, 3.6rem); letter-spacing: -.023em; margin-block: 3px 9px; }
.closure-stations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 9px; border-top: 1px solid #e6edda4d; }
.closure-stations > div + div { padding-inline-start: 14px; border-inline-start: 1px solid #e6edda4d; }
.closure-stations span { display: flex; align-items: center; gap: 8px; color: #e5f0e2; font-size: .8rem; font-weight: 600; }
.closure-stations span::before { color: #f6d588; }
.closure-stations strong { font-size: clamp(1.11rem, 2.25vw, 1.58rem); margin-top: 2px; }

.closure-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 13px; margin-top: 16px; }
.closure-broadcast { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 13px; background: #edf3e9; }
.closure-signal { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #dceadc; color: #1a634b; }
.closure-broadcast strong { display: block; color: #154a38; font-size: 1rem; line-height: 1.5; }
.closure-broadcast p { margin: 2px 0 0; color: #3c594c; font-size: .84rem; line-height: 1.55; }
.closure-story .closure-donate {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 49px; padding: 10px 17px;
  border: 1px solid #075b43; border-radius: 11px; background: #075b43; color: #fff; font-size: 1rem; font-weight: 700; white-space: nowrap;
}
.closure-story .closure-donate:hover { background: #064532; border-color: #064532; }
.closure-donate svg { flex: none; }
.closure-details { margin-top: 8px; color: #3b584b; font-size: .84rem; line-height: 1.6; }
.closure-details summary { width: fit-content; min-height: 32px; padding: 5px 1px; color: #225d47; font-weight: 600; cursor: pointer; }
.closure-details summary:focus-visible { outline: 2px solid #986121; outline-offset: 3px; border-radius: 4px; }
.closure-details p { margin: 5px 0 0; }

@media (max-width: 720px) {
  [data-campaign-closed="true"] .site-header { height: 61px; }
  [data-campaign-closed="true"] .shell { width: calc(100% - 24px); }
  [data-campaign-closed="true"] .site-header .brand img { width: 43px; height: 43px; }
  .closure-story { padding: 14px; margin-bottom: 16px; }
  .closure-main, .closure-actions { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .closure-meta { margin-bottom: 8px; }
  .closure-story h1 { font-size: clamp(1.54rem, 7.1vw, 2.4rem); margin-bottom: 6px; }
  .closure-thanks { font-size: .91rem; line-height: 1.55; }
  .closure-figures { padding: 12px 14px 11px; }
  .closure-total-value { font-size: clamp(2.12rem, 10.2vw, 3.2rem); margin-bottom: 7px; }
  .closure-stations { padding-top: 7px; }
  .closure-actions { margin-top: 11px; }
  .closure-broadcast { padding: 8px 9px; gap: 8px; }
  .closure-signal { width: 33px; height: 33px; }
  .closure-signal svg { width: 21px; height: 21px; }
  .closure-broadcast strong { font-size: .88rem; }
  .closure-broadcast p { font-size: .77rem; }
  .closure-details { margin-top: 6px; }
}
