/* Pumwani Donations public styles: accessible, responsive, high contrast. */
.pmd-campaign-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.pmd-card { background: #fff; border: 1px solid #c6d4c9; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 28px rgba(18, 32, 25, .08); color: #122019; }
.pmd-card-media { display: block; aspect-ratio: 16 / 8.5; background: #eaf5ee; }
.pmd-card-media img, .pmd-campaign-banner, .pmd-campaign-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.pmd-card-body { padding: 20px; }
.pmd-card h3 { margin: 10px 0 8px; font-size: 24px; line-height: 1.18; }
.pmd-card h3 a, .pmd-text-link { color: #075f43; }
.pmd-card p, .pmd-campaign-detail p, .pmd-form p, .pmd-confirmation p { color: #2b4034; line-height: 1.55; }
.pmd-status { display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; background: #dce8de; color: #24372c; font-size: 12px; font-weight: 800; letter-spacing: .02em; padding: 6px 10px; }
.pmd-status-active, .pmd-status-completed { background: #075f43; color: #fff; }
.pmd-status-scheduled, .pmd-status-pending, .pmd-status-processing { background: #ffdf8a; color: #4a2b00; }
.pmd-status-paused, .pmd-status-ended { background: #4b5563; color: #fff; }
.pmd-status-pledged { background: #dbeafe; color: #173f74; }
.pmd-status-failed, .pmd-status-reversed { background: #8f1d1d; color: #fff; }
.pmd-status-partially_refunded { background: #ffe1c2; color: #5b2b00; }
.pmd-progress-wrap { margin: 16px 0; }
.pmd-progress { background: #dce8de; border-radius: 999px; height: 11px; overflow: hidden; }
.pmd-progress span { display: block; height: 100%; background: #087a54; border-radius: inherit; }
.pmd-progress-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: space-between; margin-top: 8px; color: #24372c; }
.pmd-progress-meta span { color: #43584a; }
.pmd-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 0; border-radius: 999px; background: #075f43; color: #fff !important; cursor: pointer; font-weight: 800; line-height: 1.2; padding: 12px 20px; text-decoration: none !important; }
.pmd-button:hover, .pmd-button:focus-visible { background: #043d2c; }
.pmd-text-link { display: inline-block; font-weight: 700; margin-left: 12px; }
.pmd-campaign-detail { color: #122019; max-width: 880px; }
.pmd-campaign-banner { aspect-ratio: 16 / 6; border-radius: 20px; margin-bottom: 22px; }
.pmd-campaign-image { aspect-ratio: 16 / 9; border-radius: 16px; margin: 22px 0; }
.pmd-campaign-detail h2 { font-size: clamp(30px, 5vw, 46px); line-height: 1.08; margin: 12px 0; }
.pmd-lede { font-size: 19px; }
.pmd-campaign-story { font-size: 17px; }
.pmd-levels { background: #eef7f1; border: 1px solid #c6d4c9; border-radius: 16px; padding: 18px; margin: 22px 0; }
.pmd-levels ul { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pmd-levels li { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.pmd-contact { background: #fff7e6; border-left: 4px solid #b77900; color: #4f3600 !important; padding: 12px; }
.pmd-donate-wrap { color: #122019; max-width: 820px; }
.pmd-form-banner { width: 100%; aspect-ratio: 16 / 5.5; object-fit: cover; border-radius: 20px; display: block; }
.pmd-form-context { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; margin: 18px 0; }
.pmd-form-context img { width: 150px; height: 110px; object-fit: cover; border-radius: 14px; }
.pmd-form-context h2 { margin: 8px 0 6px; }
.pmd-form { display: grid; gap: 18px; }
.pmd-form fieldset { border: 1px solid #aebfb2; border-radius: 18px; display: grid; gap: 10px; margin: 0; padding: 20px; background: #fff; }
.pmd-form legend { color: #122019; font-size: 20px; font-weight: 850; padding: 0 8px; }
.pmd-form label { color: #24372c; font-weight: 750; }
.pmd-form input, .pmd-form select, .pmd-form textarea { background: #fff; border: 1.5px solid #718873; border-radius: 10px; color: #122019; font: inherit; min-height: 48px; padding: 11px 12px; width: 100%; }
.pmd-form textarea { min-height: auto; }
.pmd-form input:focus, .pmd-form select:focus, .pmd-form textarea:focus, .pmd-privacy:focus { border-color: #075f43; outline: 3px solid #f2b705; outline-offset: 2px; }
.pmd-form [aria-invalid="true"] { border-color: #b42318 !important; }
.pmd-amounts, .pmd-routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.pmd-amount, .pmd-route { align-items: flex-start; background: #f6faf7; border: 1.5px solid #aebfb2; border-radius: 13px; cursor: pointer; display: flex !important; gap: 10px; padding: 13px; }
.pmd-amount input, .pmd-route input { width: auto; min-height: auto; margin-top: 4px; }
.pmd-amount small, .pmd-route small, .pmd-check small { display: block; color: #43584a; font-weight: 500; margin-top: 4px; line-height: 1.4; }
.pmd-amount:has(input:checked), .pmd-route:has(input:checked) { background: #e2f2e7; border-color: #075f43; box-shadow: inset 0 0 0 1px #075f43; }
.pmd-check { align-items: flex-start; display: flex !important; gap: 10px; line-height: 1.45; }
.pmd-check input { width: auto; min-height: auto; margin-top: 4px; }
.pmd-help { color: #43584a; font-size: 13.5px; line-height: 1.45; }
.pmd-field-error { color: #8f1d1d; font-weight: 750; }
.pmd-alert, .pmd-notice, .pmd-instructions { border-radius: 14px; padding: 16px 18px; margin: 16px 0; line-height: 1.5; }
.pmd-alert { background: #fff1f0; border: 1.5px solid #b42318; color: #5f130e; }
.pmd-alert ul { margin-bottom: 0; }
.pmd-notice { background: #eef7f1; border: 1px solid #8ea496; color: #24372c; }
.pmd-privacy { background: #f6faf7; border: 1px solid #aebfb2; border-radius: 14px; padding: 16px 18px; }
.pmd-privacy p { margin-bottom: 0; }
.pmd-submit { font-size: 17px; width: fit-content; }
.pmd-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.pmd-confirmation { max-width: 760px; color: #122019; }
.pmd-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.pmd-summary div { background: #f6faf7; border: 1px solid #c6d4c9; border-radius: 12px; padding: 13px; }
.pmd-summary dt { color: #43584a; font-size: 12px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.pmd-summary dd { color: #122019; font-weight: 800; margin: 5px 0 0; }
.pmd-instructions { background: #fff7e6; border: 1px solid #d8a100; color: #4f3600; }
.pmd-instructions p { color: #4f3600; }
.pmd-my-donations { color: #122019; }
.pmd-donor-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 18px; }
.pmd-donor-summary div { background: #07382c; border-radius: 14px; color: #fff; padding: 16px; }
.pmd-donor-summary span { color: #cdeede; display: block; font-size: 12px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.pmd-donor-summary strong { color: #fff; display: block; font-size: 25px; margin-top: 5px; }
.pmd-table-wrap { overflow-x: auto; border: 1px solid #c6d4c9; border-radius: 14px; }
.pmd-history { border-collapse: collapse; min-width: 700px; width: 100%; }
.pmd-history th { background: #184b3a; color: #fff; text-align: left; }
.pmd-history th, .pmd-history td { padding: 11px; border-bottom: 1px solid #dce5dc; }
.pmd-history td small { color: #43584a; }
.pmd-preferences { background: #f6faf7; border: 1px solid #c6d4c9; border-radius: 16px; margin-top: 20px; padding: 18px; }
.pmd-preferences form { display: grid; gap: 10px; max-width: 560px; }
.pmd-preferences select { min-height: 46px; border: 1.5px solid #718873; border-radius: 10px; padding: 10px; width: 100%; }
@media (max-width: 640px) {
  .pmd-card-body { padding: 16px; }
  .pmd-form fieldset { padding: 16px; }
  .pmd-form-context { grid-template-columns: 1fr; }
  .pmd-form-context img { width: 100%; height: 150px; }
  .pmd-submit { width: 100%; }
  .pmd-campaign-banner { aspect-ratio: 16 / 9; }
}
/* ---- Donate page redesign: form + summary rail (1.3.0) ---- */
.pmd-donate-wrap { max-width: 1160px; }
.pmd-donate-intro { background: linear-gradient(120deg, #01200f, #0a3c22 60%, #0f6929 135%); border-radius: 20px; color: #fff; padding: 26px 28px; margin-bottom: 22px; box-shadow: 0 16px 36px rgba(1,32,15,.18); }
.pmd-donate-kicker { color: #f2b705 !important; font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.pmd-donate-intro h2 { color: #fff; margin: 5px 0 6px; font-size: clamp(26px, 4vw, 34px); line-height: 1.1; }
.pmd-donate-intro > p:last-child { color: #cfe8d8; margin: 0; max-width: 62ch; }
.pmd-donate-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.pmd-donate-main { min-width: 0; }
.pmd-donate-aside { display: grid; gap: 16px; position: sticky; top: 104px; }
.pmd-aside-card { background: #fff; border: 1px solid #c6d4c9; border-radius: 18px; padding: 20px; box-shadow: 0 10px 26px rgba(1,32,15,.06); color: #122019; }
.pmd-aside-card h3 { margin: 0 0 10px; font-size: 17px; color: #122019; }
.pmd-aside-card p { color: #2b4034; line-height: 1.55; margin: 0 0 8px; }
.pmd-aside-card p:last-child { margin-bottom: 0; }
.pmd-aside-campaign img { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; display: block; margin-bottom: 12px; }
.pmd-aside-campaign .pmd-progress-wrap { margin-bottom: 0; }
.pmd-summary-card { background: linear-gradient(150deg, #07382c, #0b5d45); border: 0; color: #fff; }
.pmd-summary-card h3 { color: #f2b705; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.pmd-summary-amount { font-size: 33px; font-weight: 850; color: #fff !important; margin: 0 0 12px !important; line-height: 1.05; }
.pmd-summary-list { display: grid; gap: 8px; margin: 0; }
.pmd-summary-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 8px; }
.pmd-summary-list dt { color: #cdeede; font-size: 11.5px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.pmd-summary-list dd { margin: 0; font-weight: 700; text-align: right; color: #fff; }
.pmd-aside-levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pmd-aside-levels li { display: flex; gap: 10px; justify-content: space-between; align-items: baseline; }
.pmd-aside-levels strong { color: #075f43; white-space: nowrap; }
.pmd-aside-levels span { color: #43584a; text-align: right; }
.pmd-aside-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: #2b4034; line-height: 1.5; }
.pmd-aside-card .pmd-text-link { margin-left: 0; }
.pmd-step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #075f43; color: #fff; font-size: 14px; font-weight: 850; margin-right: 9px; vertical-align: 3px; }
.pmd-form fieldset { border-color: #c6d4c9; padding: 22px; box-shadow: 0 10px 26px rgba(1,32,15,.05); }
.pmd-form legend { font-size: 19px; }
.pmd-amounts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.pmd-amount { padding: 15px; border-radius: 14px; }
.pmd-amount strong { font-size: 16px; white-space: nowrap; }
.pmd-amount:has(input:checked) { background: #075f43; border-color: #075f43; color: #fff; box-shadow: 0 8px 20px rgba(7,95,67,.25); }
.pmd-amount:has(input:checked) small { color: #cdeede; }
.pmd-amount:has(input:focus-visible), .pmd-route:has(input:focus-visible) { outline: 3px solid #f2b705; outline-offset: 2px; }
.pmd-submit { width: 100%; font-size: 17px; min-height: 54px; }
@media (max-width: 1020px) {
  .pmd-donate-layout { grid-template-columns: 1fr; }
  .pmd-donate-aside { position: static; }
}
@media print {
  .pmd-button, .pmd-text-link, .pmd-preferences { display: none !important; }
  .pmd-card, .pmd-confirmation, .pmd-summary div { box-shadow: none !important; break-inside: avoid; }
}
