/** PeduliFund WP — scoped frontend styles. No external assets or fonts. */
.pfw {
  --pfw-accent: #126c5c;
  --pfw-ink: #213a34;
  --pfw-muted: #61756f;
  --pfw-line: #dce6e0;
  --pfw-soft: #f1f6f2;
  --pfw-cream: #fbfaf5;
  --pfw-white: #fff;
  box-sizing: border-box;
  container-type: inline-size;
  width: 100%;
  color: var(--pfw-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
  overflow-wrap: anywhere;
}
.pfw *, .pfw *::before, .pfw *::after { box-sizing: border-box; }
.pfw [hidden] { display: none !important; }
.pfw h2, .pfw h3, .pfw p, .pfw dl, .pfw ul, .pfw fieldset { margin: 0; }
.pfw h2, .pfw h3 { color: var(--pfw-ink); letter-spacing: -.025em; font-family: inherit; font-weight: 750; }
.pfw h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; }
.pfw h3 { font-size: 1.15rem; line-height: 1.4; }
.pfw p + p { margin-top: .85rem; }
.pfw a { color: var(--pfw-accent); text-underline-offset: .2em; }
.pfw a:hover { color: var(--pfw-ink); }
.pfw img { display: block; max-width: 100%; height: auto; }
.pfw input, .pfw select, .pfw textarea, .pfw button { font: inherit; }
.pfw button, .pfw .pfw-button { cursor: pointer; }
.pfw :focus-visible { outline: 3px solid #d39836; outline-offset: 3px; }
.pfw-icon { display: inline-block; width: 1.35rem; height: 1.35rem; flex: 0 0 auto; vertical-align: middle; }
.pfw-eyebrow { display: block; margin-bottom: .6rem; color: var(--pfw-accent); font-size: .72rem; line-height: 1.4; letter-spacing: .11em; text-transform: uppercase; font-weight: 750; }
.pfw-small, .pfw-help { color: var(--pfw-muted); font-size: .78rem; line-height: 1.65; }
.pfw-help { display: block; margin-top: .4rem; }
.pfw-divider { height: 1px; width: 100%; background: var(--pfw-line); margin: 1.4rem 0; }
.pfw-visually-hidden { border: 0; clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px; }
.pfw-sandbox { display: flex; flex-direction: column; gap: .3rem; border: 1px solid #e9c47a; border-left: 4px solid #b67710; border-radius: .65rem; padding: .85rem 1rem; margin: 0 0 1.4rem; background: #fff6de; color: #654611; font-size: .8rem; line-height: 1.5; }
.pfw-sandbox strong { font-size: .72rem; letter-spacing: .08em; }
.pfw-notice, .pfw-error { border-radius: .65rem; padding: 1rem; font-size: .87rem; line-height: 1.65; }
.pfw-notice { background: #f5f3e8; border: 1px solid #e5e1cb; color: #615a37; }
.pfw-notice p { margin-top: .5rem; }
.pfw-error { background: #fff0ef; border: 1px solid #e8bbb6; color: #8e3127; margin: .8rem 0; }

/* Collection */
.pfw-campaigns { max-width: 1200px; margin: 1.5rem auto 3rem; }
.pfw-collection-intro { display: flex; gap: 2rem; justify-content: space-between; align-items: center; background: var(--pfw-cream); border: 1px solid #e8eadf; border-radius: 1.1rem; padding: clamp(1.5rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.pfw-collection-intro h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .9rem; max-width: 650px; }
.pfw-collection-intro p { color: var(--pfw-muted); max-width: 560px; font-size: .95rem; }
.pfw-collection-mark { background: #e4eee4; width: 112px; height: 112px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50% 50% 40% 50%; transform: rotate(-8deg); color: var(--pfw-accent); }
.pfw-collection-mark .pfw-icon { width: 58px; height: 58px; transform: rotate(8deg); stroke-width: 1.15; }
.pfw-filters { display: flex; align-items: stretch; gap: .65rem; margin-bottom: 1.7rem; }
.pfw-filter-search { flex: 1; min-width: 0; }
.pfw .pfw-filters input, .pfw .pfw-filters select { height: 48px; width: 100%; padding: .65rem .9rem; background: var(--pfw-white); border: 1px solid var(--pfw-line); color: var(--pfw-ink); border-radius: .55rem; box-shadow: none; }
.pfw .pfw-filters select { max-width: 230px; padding-right: 2rem; }
.pfw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.pfw-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--pfw-line); border-radius: .9rem; background: var(--pfw-white); box-shadow: 0 4px 18px #183a2610; transition: transform .18s ease, box-shadow .18s ease; }
.pfw-card:hover { transform: translateY(-3px); box-shadow: 0 9px 24px #183a2617; }
.pfw-card-image { display: block; position: relative; aspect-ratio: 16 / 10; background: #e6eee7; overflow: hidden; color: var(--pfw-accent); }
.pfw-card-image img, .pfw-single-cover > img { width: 100%; height: 100%; object-fit: cover; }
.pfw-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 78% 25%, #f4f0d5 0 17%, transparent 17.4%), radial-gradient(ellipse at 15% 110%, #96b9a0 0 43%, transparent 43.4%), linear-gradient(140deg, #e6eee3, #c9dfd1); }
.pfw-placeholder .pfw-icon { width: 24%; height: auto; color: #3d7866; stroke-width: .9; filter: drop-shadow(0 2px 0 #ffffff50); }
.pfw-category { position: absolute; left: 1rem; bottom: 1rem; display: inline-block; max-width: calc(100% - 2rem); background: #ffffffef; color: #284d40; border: 1px solid #ffffff60; border-radius: 100px; padding: .2rem .75rem; font-size: .68rem; font-weight: 700; line-height: 1.7; }
.pfw-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.pfw-card h3 { font-size: 1.08rem; line-height: 1.45; margin: 0 0 .5rem; }
.pfw-card h3 a { text-decoration: none; color: var(--pfw-ink); }
.pfw-card h3 a:hover { text-decoration: underline; }
.pfw-card-excerpt { font-size: .8rem; color: var(--pfw-muted); line-height: 1.65; margin-bottom: 1.1rem !important; }
.pfw-card .pfw-progress-group { margin-top: auto; }
.pfw-card-link { display: flex; justify-content: space-between; align-items: center; gap: .5rem; border-top: 1px solid var(--pfw-line); padding-top: .9rem; margin-top: 1rem; font-size: .8rem; font-weight: 750; text-decoration: none; }
.pfw-card-link .pfw-icon { width: 1rem; height: 1rem; }
.pfw-raised { display: flex; gap: .4rem; align-items: baseline; flex-wrap: wrap; }
.pfw-raised strong { font-size: 1.85rem; line-height: 1.3; color: var(--pfw-accent); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.pfw-raised > span { font-size: .76rem; color: var(--pfw-muted); }
.pfw-progress { display: block; width: 100%; height: 7px; border: none; border-radius: 100px; background: #e8eee9; overflow: hidden; margin: .8rem 0 .45rem; appearance: none; -webkit-appearance: none; }
.pfw-progress::-webkit-progress-bar { background: #e8eee9; border-radius: 100px; }
.pfw-progress::-webkit-progress-value { background: var(--pfw-accent); border-radius: 100px; }
.pfw-progress::-moz-progress-bar { background: var(--pfw-accent); border-radius: 100px; }
.pfw-progress-meta { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; font-size: .72rem; color: var(--pfw-muted); }
.pfw-progress-meta strong { color: var(--pfw-accent); }
.pfw-count-row { display: flex; justify-content: space-between; gap: .75rem; margin-top: .8rem; font-size: .68rem; line-height: 1.6; color: var(--pfw-muted); }
.pfw-count-row span:last-child { text-align: right; }
.pfw-open-target { font-size: .76rem; color: var(--pfw-muted); margin: .6rem 0 !important; }
.pfw-progress-compact .pfw-raised strong { font-size: 1.18rem; }
.pfw-progress-compact .pfw-raised > span { font-size: .66rem; }
.pfw-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: 2rem; }
.pfw-pagination .page-numbers { padding: .4rem .8rem; border: 1px solid var(--pfw-line); border-radius: .4rem; font-size: .8rem; text-decoration: none; }
.pfw-pagination .current { color: #fff; background: var(--pfw-accent); border-color: var(--pfw-accent); }
.pfw-empty { text-align: center; border: 1px dashed #ccdacf; padding: 3rem 1.3rem; border-radius: 1rem; background: var(--pfw-cream); }
.pfw-empty > .pfw-icon { width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; color: var(--pfw-accent); }
.pfw-empty p { max-width: 460px; margin: .8rem auto 0; color: var(--pfw-muted); font-size: .9rem; }

/* Campaign detail and forms */
.pfw-single { max-width: 1200px; margin: 1rem auto 3rem; }
.pfw-single-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .95fr); gap: clamp(1.4rem, 3vw, 2.5rem); align-items: start; }
.pfw-single-cover { position: relative; aspect-ratio: 16 / 10; border-radius: .95rem; overflow: hidden; background: #dde9df; }
.pfw-organizer { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; padding: 1.3rem 0; border-bottom: 1px solid var(--pfw-line); margin-bottom: 1.8rem; }
.pfw-organizer-mark { display: grid; width: 42px; height: 42px; place-items: center; background: var(--pfw-soft); color: var(--pfw-accent); border-radius: 50%; overflow: hidden; }
.pfw-organizer-mark img { width: 100%; height: 100%; object-fit: contain; }
.pfw-organizer > div { display: grid; }
.pfw-organizer > div > span { font-size: .65rem; color: var(--pfw-muted); }
.pfw-organizer strong { font-size: .85rem; font-weight: 700; }
.pfw-location { display: inline-flex; align-items: center; margin-left: auto; font-size: .74rem; color: var(--pfw-muted); gap: .25rem; }
.pfw-location .pfw-icon { width: 1rem; height: 1rem; }
.pfw-story h2, .pfw-updates h2, .pfw-supporters h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.pfw-prose { color: #40594f; font-size: .93rem; line-height: 1.85; }
.pfw-prose h2, .pfw-prose h3, .pfw-prose h4 { margin: 1.4rem 0 .6rem; }
.pfw-prose p { margin-bottom: 1rem; }
.pfw-prose ul, .pfw-prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.pfw-prose li + li { margin-top: .4rem; }
.pfw-prose img { border-radius: .6rem; margin: 1rem 0; }
.pfw-prose blockquote { margin: 1rem 0; border-left: 3px solid var(--pfw-accent); padding: .7rem 1.2rem; background: var(--pfw-soft); }
.pfw-updates { padding: 1.5rem; background: var(--pfw-cream); border: 1px solid #e7e8dc; border-radius: .8rem; margin-top: 2rem; }
.pfw-supporters { margin-top: 2rem; border-top: 1px solid var(--pfw-line); padding-top: 1.5rem; }
.pfw-supporters ul { list-style: none; margin-top: .9rem; padding: 0; }
.pfw-supporters li { display: flex; align-items: center; gap: .7rem; padding: .85rem 0; border-bottom: 1px solid var(--pfw-line); }
.pfw-supporter-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--pfw-soft); color: var(--pfw-accent); flex-shrink: 0; }
.pfw-supporter-mark .pfw-icon { width: 16px; height: 16px; }
.pfw-supporters li > div { display: flex; flex-direction: column; flex: 1; }
.pfw-supporters li strong { font-size: .8rem; }
.pfw-supporters li > div > span { font-size: .68rem; color: var(--pfw-muted); }
.pfw-giving-card, .pfw-standalone-form { padding: clamp(1.2rem, 2.5vw, 2rem); background: var(--pfw-white); border: 1px solid var(--pfw-line); border-radius: 1rem; box-shadow: 0 7px 28px #233b3010; }
.pfw-giving-card > h2, .pfw-standalone-form > h2 { font-size: 1.45rem; margin-bottom: 1.25rem; }
.pfw-giving-column { min-width: 0; }
.pfw-standalone-form { max-width: 580px; margin: 1.5rem auto; }
.pfw-field { margin-bottom: 1.05rem; }
.pfw-field > label { display: block; color: var(--pfw-ink); font-size: .8rem; font-weight: 700; margin-bottom: .4rem; }
.pfw-field > label > span[aria-hidden] { color: #aa4935; }
.pfw-optional { color: var(--pfw-muted); font-size: .75rem; font-weight: 400; }
.pfw .pfw-field input:not([type=checkbox]):not([type=radio]), .pfw .pfw-field textarea { width: 100%; min-height: 46px; display: block; padding: .65rem .8rem; color: var(--pfw-ink); background: #fff; border: 1px solid #cfdcd3; border-radius: .5rem; box-shadow: none; font-size: .9rem; line-height: 1.5; margin: 0; }
.pfw .pfw-field input::placeholder, .pfw .pfw-field textarea::placeholder { color: #82918a; opacity: 1; }
.pfw .pfw-field textarea { resize: vertical; min-height: 85px; }
.pfw-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin: .65rem 0; }
.pfw .pfw-preset { min-height: 43px; padding: .6rem .35rem; background: #fafcf9; border: 1px solid #d4e0d6; color: #3b5e4b; border-radius: .45rem; font-size: .82rem; font-weight: 700; line-height: 1.4; box-shadow: none; }
.pfw .pfw-preset:hover { background: var(--pfw-soft); border-color: var(--pfw-accent); }
.pfw .pfw-preset[aria-pressed=true] { background: var(--pfw-accent); border-color: var(--pfw-accent); color: #fff; }
.pfw-money-input { display: flex; align-items: center; border: 1px solid #cfdcd3; border-radius: .5rem; background: #fff; }
.pfw-money-input > span { padding-left: .8rem; color: var(--pfw-muted); font-size: .9rem; }
.pfw .pfw-field .pfw-money-input > input { border: none; min-width: 0; background: transparent; }
.pfw-money-input:focus-within { outline: 3px solid #d39836; outline-offset: 3px; }
.pfw .pfw-money-input > input:focus-visible { outline: none; }
.pfw-methods { border: none; padding: 0; min-width: 0; margin-top: 1.25rem; }
.pfw-methods legend { font-size: .8rem; font-weight: 700; margin-bottom: .6rem; padding: 0; }
.pfw-method { display: flex; align-items: center; gap: .65rem; padding: .8rem; border: 1px solid #d5e1d7; border-radius: .55rem; cursor: pointer; background: #fff; }
.pfw-method + .pfw-method { margin-top: .5rem; }
.pfw-method:has(input:checked) { border-color: var(--pfw-accent); background: #f5f9f5; box-shadow: inset 0 0 0 1px var(--pfw-accent); }
.pfw-method-icon { color: #497860; line-height: 1; }
.pfw-method > span:last-child { display: grid; }
.pfw-method strong { font-size: .81rem; line-height: 1.5; font-weight: 700; }
.pfw-method small { font-size: .69rem; color: var(--pfw-muted); line-height: 1.5; }
.pfw input[type=checkbox], .pfw input[type=radio] { appearance: auto; -webkit-appearance: auto; accent-color: var(--pfw-accent); flex: 0 0 auto; width: 17px; height: 17px; min-width: 17px; padding: 0; margin: 0; border: 1px solid #718b7c; box-shadow: none; vertical-align: middle; }
.pfw-checkbox { display: flex; align-items: flex-start; gap: .6rem; font-size: .73rem; line-height: 1.65; color: #526a5d; cursor: pointer; margin: -.1rem 0 1.1rem; }
.pfw-checkbox input { margin-top: .2rem !important; }
.pfw-privacy { margin: 1.25rem 0; }
.pfw-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.pfw .pfw-button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 47px; padding: .75rem 1rem; border-radius: .55rem; border: 1px solid transparent; text-decoration: none; text-transform: none; font-size: .84rem; font-weight: 700; line-height: 1.45; letter-spacing: 0; transition: filter .15s ease, background .15s ease; box-shadow: none; }
.pfw .pfw-button-primary { background: var(--pfw-accent); border-color: var(--pfw-accent); color: #fff; }
.pfw .pfw-button-primary:hover { filter: brightness(.92); color: #fff; }
.pfw .pfw-button-secondary { background: #fff; border-color: #cbdad0; color: var(--pfw-ink); }
.pfw .pfw-button-secondary:hover { background: var(--pfw-soft); color: var(--pfw-ink); }
.pfw .pfw-submit { width: 100%; justify-content: space-between; padding-left: 1.15rem; padding-right: 1.15rem; }
.pfw .pfw-button:disabled { cursor: wait; opacity: .65; }
.pfw-reassurance { display: flex; align-items: flex-start; justify-content: center; gap: .35rem; font-size: .65rem; line-height: 1.6; margin-top: .8rem !important; color: var(--pfw-muted); }
.pfw-reassurance .pfw-icon { width: .85rem; height: .85rem; margin-top: .1rem; }
.pfw-created { text-align: center; padding: .75rem 0; }
.pfw-created h3 { margin-bottom: .75rem; }
.pfw-created p { color: var(--pfw-muted); font-size: .85rem; }
.pfw-created .pfw-order-id { margin: .9rem 0; font-size: .75rem; color: var(--pfw-ink); }
.pfw-created .pfw-button { width: 100%; margin-bottom: .65rem; }
.pfw-created .pfw-small { font-size: .7rem; margin-top: .3rem; }
.pfw-success-mark { display: inline-flex; align-items: center; justify-content: center; width: 55px; height: 55px; border-radius: 50%; background: #e7f3e8; color: var(--pfw-accent); margin-bottom: 1rem; }
.pfw-success-mark .pfw-icon { width: 30px; height: 30px; }

/* Private receipt */
.pfw-receipt-shell { max-width: 680px; margin: 1.5rem auto 3rem; border: 1px solid var(--pfw-line); border-radius: 1rem; background: #fff; box-shadow: 0 10px 35px #183a2610; overflow: hidden; }
.pfw-receipt-brand { display: flex; align-items: center; gap: .55rem; color: var(--pfw-accent); font-size: .8rem; font-weight: 700; padding: 1.1rem 1.8rem; background: var(--pfw-soft); border-bottom: 1px solid var(--pfw-line); }
.pfw-receipt-header { padding: 1.8rem 1.8rem 1.25rem; }
.pfw-receipt-header h2 { font-size: 1.85rem; }
.pfw-receipt-header p { margin-top: .7rem; font-size: .8rem; color: var(--pfw-muted); }
.pfw-receipt-shell > .pfw-error { margin: 0 1.8rem 1.5rem; }
.pfw-receipt-retry { margin: 0 1.8rem 1.5rem; }
.pfw-receipt-loading { padding: 1rem 1.8rem 2rem; display: flex; gap: .6rem; align-items: center; font-size: .85rem; color: var(--pfw-muted); }
.pfw-spinner { width: 17px; height: 17px; border: 2px solid #c8dace; border-top-color: var(--pfw-accent); border-radius: 50%; animation: pfw-spin 1s linear infinite; }
@keyframes pfw-spin { to { transform: rotate(360deg); } }
.pfw-receipt-shell > [data-pfw-receipt-content] { padding: 0 1.8rem 1.8rem; }
.pfw-status-strip { display: flex; align-items: center; justify-content: space-between; gap: .7rem; flex-wrap: wrap; margin-bottom: .8rem; }
.pfw-status { display: inline-flex; align-items: center; border-radius: 100px; padding: .25rem .75rem; background: #fff1c9; color: #765413; font-size: .74rem; font-weight: 700; }
.pfw-status[data-state=paid] { background: #e6f3e8; color: #206a35; }
.pfw-status[data-state=failed], .pfw-status[data-state=cancelled], .pfw-status[data-state=expired] { background: #f9e6e3; color: #92382b; }
.pfw-status[data-state=refunded], .pfw-status[data-state=partially_refunded] { background: #eaeef2; color: #496072; }
.pfw-order-id { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--pfw-muted); font-size: .7rem; overflow-wrap: anywhere; }
.pfw-receipt-status-note { font-size: .8rem; color: var(--pfw-muted); }
.pfw-receipt-amount { border-top: 1px solid var(--pfw-line); border-bottom: 1px solid var(--pfw-line); padding: 1.3rem 0; margin-top: 1.4rem; }
.pfw-receipt-amount > span { display: block; color: var(--pfw-muted); font-size: .75rem; margin-bottom: .3rem; }
.pfw-receipt-amount > strong { font-size: 2rem; color: var(--pfw-ink); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.pfw-receipt-details { padding: 1rem 0; }
.pfw-receipt-details > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 1rem; margin: .8rem 0; align-items: baseline; }
.pfw-receipt-details dt { font-size: .75rem; color: var(--pfw-muted); }
.pfw-receipt-details dd { font-size: .8rem; margin: 0; color: var(--pfw-ink); font-weight: 600; }
.pfw-bank-instructions { padding: 1.2rem; margin: .5rem 0 1.2rem; background: var(--pfw-cream); border: 1px solid #e4e7da; border-radius: .65rem; }
.pfw-bank-instructions h3 { font-size: .95rem; }
.pfw-bank-account { display: flex; align-items: center; gap: .65rem; justify-content: space-between; margin: .5rem 0; }
.pfw-bank-account > strong { font-size: 1.3rem; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.pfw .pfw-copy-button { padding: .3rem .55rem; font-size: .69rem; background: #fff; color: var(--pfw-accent); border: 1px solid #c7d6c8; border-radius: .35rem; line-height: 1.5; text-transform: none; font-weight: 600; }
.pfw-bank-instructions > p { font-size: .78rem; color: var(--pfw-muted); }
.pfw-bank-instructions > .pfw-small { font-size: .72rem; margin-top: .9rem; }
.pfw-receipt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1rem; }
.pfw-receipt-actions .pfw-button { flex: 1 1 auto; }
.pfw-receipt-actions > .pfw-receipt-help { display: block; width: 100%; font-size: .8rem; text-align: center; margin-top: .4rem; }
.pfw-receipt-footer { background: #fafcf9; border-top: 1px solid var(--pfw-line); padding: 1.2rem 1.8rem; text-align: center; }
.pfw-receipt-footer p { display: flex; justify-content: center; align-items: flex-start; gap: .35rem; font-size: .7rem; color: var(--pfw-muted); }
.pfw-receipt-footer p .pfw-icon { width: .9rem; height: .9rem; margin-top: .15rem; }
.pfw-receipt-footer > a { display: inline-block; font-size: .78rem; margin-top: .7rem; }

@media (max-width: 1050px) {
  .pfw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pfw-single-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, .95fr); gap: 1.3rem; }
}
@container (max-width: 850px) {
  .pfw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pfw-single-layout { display: flex; flex-direction: column; }
  .pfw-story-column, .pfw-giving-column { width: 100%; }
}
@container (max-width: 540px) {
  .pfw-grid { grid-template-columns: minmax(0, 1fr); }
  .pfw-collection-mark { display: none; }
  .pfw-filters { flex-wrap: wrap; }
  .pfw-filter-search { flex-basis: 100%; }
  .pfw .pfw-filters select { flex: 1; min-width: 0; width: auto; }
}
@media (max-width: 780px) {
  .pfw-single-layout { display: flex; flex-direction: column; }
  .pfw-giving-column, .pfw-story-column { width: 100%; }
  .pfw-giving-card { box-shadow: none; }
  .pfw-single-cover { aspect-ratio: 16 / 9; }
  .pfw-collection-mark { width: 85px; height: 85px; }
  .pfw-collection-mark .pfw-icon { width: 44px; height: 44px; }
  .pfw-collection-intro { gap: 1rem; }
  .pfw-filters { flex-wrap: wrap; }
  .pfw-filter-search { flex-basis: 100%; }
  .pfw .pfw-filters select { flex: 1; max-width: none; min-width: 0; width: auto; }
  .pfw-filters .pfw-button { flex-grow: 1; }
}
@media (max-width: 540px) {
  .pfw { font-size: 16px; }
  .pfw-grid { grid-template-columns: minmax(0, 1fr); gap: 1.15rem; }
  .pfw-collection-intro { padding: 1.3rem; }
  .pfw-collection-intro h2 { font-size: 1.8rem; }
  .pfw-collection-intro p { font-size: .83rem; }
  .pfw-collection-mark { display: none; }
  .pfw-card-body { padding: 1.1rem; }
  .pfw-card h3 { font-size: 1.13rem; }
  .pfw-progress-compact .pfw-raised strong { font-size: 1.35rem; }
  .pfw-count-row { font-size: .7rem; }
  .pfw-giving-card, .pfw-standalone-form { padding: 1.15rem; }
  .pfw .pfw-field input:not([type=checkbox]):not([type=radio]), .pfw .pfw-field textarea, .pfw .pfw-filters input, .pfw .pfw-filters select { font-size: 16px; }
  .pfw-location { width: 100%; margin-left: 50px; }
  .pfw-receipt-brand, .pfw-receipt-footer { padding: 1rem 1.2rem; }
  .pfw-receipt-header { padding: 1.4rem 1.2rem 1.15rem; }
  .pfw-receipt-shell > [data-pfw-receipt-content] { padding: 0 1.2rem 1.3rem; }
  .pfw-receipt-shell > .pfw-error { margin-left: 1.2rem; margin-right: 1.2rem; }
  .pfw-receipt-details > div { grid-template-columns: 105px minmax(0, 1fr); gap: .8rem; }
  .pfw-receipt-actions { display: grid; }
  .pfw-receipt-amount > strong { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pfw *, .pfw *::before, .pfw *::after { animation-duration: .01ms !important; transition: none !important; }
}
@media print {
  .pfw-receipt-shell { border: 1px solid #ccc; box-shadow: none; margin: 0 auto; max-width: 100%; break-inside: avoid; }
  .pfw-receipt-actions, .pfw-receipt-footer > a, .pfw-copy-button, [data-pfw-poll-note], .pfw-receipt-shell .pfw-error { display: none !important; }
  .pfw-receipt-shell a { color: #222; text-decoration: none; }
  .pfw-receipt-shell a::after { content: none !important; }
}
