/* Matches the screenshot: navy text, white panel, pale-gray flat inputs,
   gently rounded corners, editorial whitespace, inherited site typography.
   Only scopes the embedded contribution widget; does NOT touch site layout. */
#hbm-contribution-embed {
  --hbm-navy: #092444;
  --hbm-muted: #687789;
  --hbm-border: #d9dfe4;
  --hbm-field: #f5f6f7;
  --hbm-focus: #9caec1;
  color: var(--hbm-navy);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.55;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
#hbm-contribution-embed *,
#hbm-contribution-embed *::before,
#hbm-contribution-embed *::after { box-sizing: border-box; }
#hbm-contribution-embed .hbm-label {
  display: block;
  color: var(--hbm-navy);
  font-size: 13px;
  font-weight: 650;
  margin: 0 0 10px;
}
#hbm-contribution-embed .hbm-amounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}
#hbm-contribution-embed .hbm-amounts button {
  appearance: none;
  border: 1px solid var(--hbm-border);
  background: var(--hbm-field);
  color: var(--hbm-navy);
  border-radius: 9px;
  padding: 12px 7px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
#hbm-contribution-embed .hbm-amounts button.is-selected {
  border-color: #536d87;
  background: #edf2f5;
  box-shadow: inset 0 0 0 1px #536d87;
}
#hbm-contribution-embed .hbm-currency-field {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 49px;
  padding: 0 15px;
  border: 1px solid var(--hbm-border);
  border-radius: 10px;
  background: var(--hbm-field);
}
#hbm-contribution-embed .hbm-currency-field:focus-within {
  outline: 2px solid var(--hbm-focus);
  outline-offset: 1px;
}
#hbm-contribution-embed .hbm-currency-field > span { color: var(--hbm-muted); }
#hbm-contribution-embed .hbm-currency-field input {
  border: 0;
  background: transparent;
  outline: 0;
  color: var(--hbm-navy);
  font: inherit;
  width: 100%;
  min-width: 0;
}
#hbm-contribution-embed .hbm-muted {
  margin: 6px 0 15px;
  color: var(--hbm-muted);
  font-size: 11px;
}
#hbm-contribution-embed .hbm-total {
  display: flex;
  justify-content: space-between;
  margin: 0 0 16px;
  border-bottom: 1px solid #e9ecef;
  padding: 0 0 15px;
  color: var(--hbm-navy);
}
#hbm-contribution-embed .hbm-total strong { font-weight: 750; }
#hbm-contribution-embed #hbm-stripe-secure-form { min-height: 80px; }
#hbm-contribution-embed .hbm-status {
  margin: 13px 0 0;
  color: var(--hbm-muted);
  font-size: 13px;
}
#hbm-contribution-embed .hbm-status[data-kind="error"] { color: #a52c38; }
#hbm-contribution-embed .hbm-status[data-kind="paid"] { color: #176644; text-align: center; }
#hbm-contribution-embed .hbm-disclosure {
  margin: 19px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--hbm-muted);
}
#hbm-contribution-embed .hbm-security {
  color: var(--hbm-muted);
  margin: 8px 0 0;
  text-align: center;
  font-size: 11px;
}
#hbm-contribution-embed .hbm-new-contribution {
  font: inherit;
  font-weight: 600;
  border: 1px solid var(--hbm-border);
  border-radius: 9px;
  background: var(--hbm-navy);
  color: white;
  padding: 12px 15px;
  cursor: pointer;
  margin-top: 16px;
  width: 100%;
}
@media (max-width: 480px) {
  #hbm-contribution-embed .hbm-currency-field input { font-size: 16px; }
  #hbm-contribution-embed .hbm-amounts { gap: 5px; }
  #hbm-contribution-embed .hbm-amounts button { font-size: 13px; }
}

#hbm-contribution-embed [hidden]{display:none!important}
#hbm-contribution-embed .hbm-test-notice{font-size:12px;line-height:1.6;color:var(--hbm-navy);background:#f6f3ed;padding:12px 14px;border-radius:10px;margin:0 0 20px}
#hbm-contribution-embed button:disabled{opacity:.5;cursor:wait}
#hbm-contribution-embed .hbm-status:empty{display:none}
#hbm-contribution-embed .hbm-utility{display:block;width:auto;border:0;background:none;font:inherit;color:var(--hbm-navy);text-decoration:underline;text-underline-offset:4px;padding:8px 0;margin-top:8px}
#hbm-contribution-embed #hbm-stripe-secure-form:empty{min-height:0}
#hbm-contribution-embed .hbm-wallet-options{margin:16px 0;min-width:0}
#hbm-contribution-embed .hbm-wallet-options .hbm-field-help{margin:10px 0 0}
#hbm-contribution-embed #hbm-wallet-status:empty{display:none}

/* Centered contribution section; preserve the site's typography and palette. */
#donate.support-section{display:block;text-align:center;padding:72px 28px 44px}
#donate .support-intro{max-width:860px;margin:0 auto 34px}
#donate .support-intro h2{font-size:clamp(40px,5vw,64px);line-height:1.08}
#donate .support-intro .section-subtitle{max-width:760px;margin:16px auto 0;font-size:22px}
#donate .funding-copy{max-width:800px;margin:20px auto 16px;font-size:15px;line-height:1.65}
#donate .checkout-card{width:100%;max-width:1000px;margin:0 auto;padding:30px 34px;border-radius:24px;text-align:left}
#donate .checkout-card>.eyebrow,#donate .checkout-card>h3,#donate .checkout-lead{text-align:center}
#donate .checkout-card>h3{font-size:28px}
#donate .checkout-card>.checkout-lead{margin:10px 0 24px;font-size:14px}
#donate .support-disclosure{max-width:1000px;margin:24px auto 0;text-align:center}
#hbm-contribution-embed .hbm-amount-row{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;align-items:start}
#hbm-contribution-embed .hbm-amounts{margin:0}
#hbm-contribution-embed .hbm-amounts button{height:46px;padding:10px 7px}
#hbm-contribution-embed .hbm-currency-field{height:46px}
#hbm-contribution-embed .hbm-label{margin-bottom:7px}
#hbm-contribution-embed .hbm-checkout-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;border-top:1px solid #e7e8e9;padding-top:22px}
#hbm-contribution-embed .hbm-payment-column{padding-left:28px;border-left:1px solid #e7e8e9;min-width:0}
#hbm-contribution-embed h4{font-size:16px;font-weight:650;letter-spacing:-.015em;margin:0 0 12px}
#hbm-contribution-embed .hbm-address-heading{margin-top:20px;margin-bottom:4px}
#hbm-contribution-embed .hbm-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
#hbm-contribution-embed .hbm-wide{grid-column:1/-1}
#hbm-contribution-embed .hbm-fields label,#hbm-contribution-embed .hbm-message-label{display:block;font-size:13px;font-weight:500;min-width:0}
#hbm-contribution-embed label span:not([aria-hidden]):not([data-region-label]):not([data-postal-label]){font-weight:400}
#hbm-contribution-embed .hbm-fields input,#hbm-contribution-embed select,#hbm-contribution-embed textarea{display:block;width:100%;max-width:100%;border:1px solid var(--hbm-border);border-radius:9px;background:var(--hbm-field);color:var(--hbm-navy);font:inherit;font-size:14px;line-height:1.4;padding:11px 12px;margin-top:5px}
#hbm-contribution-embed .hbm-fields input,#hbm-contribution-embed select{min-height:43px}
#hbm-contribution-embed textarea{resize:vertical;min-height:74px}
#hbm-contribution-embed .hbm-field-help{font-size:11px;line-height:1.5;color:var(--hbm-muted);margin:0 0 12px}
#hbm-contribution-embed .hbm-message-label{margin-top:20px}
#hbm-contribution-embed #hbm-message-help{margin-top:6px}
#hbm-contribution-embed .hbm-save{display:flex;align-items:flex-start;gap:9px;margin-top:16px;font-size:11px;line-height:1.5;color:var(--hbm-muted)}
#hbm-contribution-embed .hbm-save input{width:16px;height:16px;accent-color:var(--hbm-navy);flex:0 0 auto;margin:2px 0 0}
#hbm-contribution-embed .hbm-consent{display:flex;align-items:flex-start;gap:10px;margin:20px 0 16px;padding-top:16px;border-top:1px solid var(--hbm-border);font-size:12px;line-height:1.65;color:var(--hbm-navy)}
#hbm-contribution-embed .hbm-consent input{width:18px;height:18px;flex:0 0 auto;margin:2px 0 0;accent-color:var(--hbm-navy)}
#hbm-contribution-embed .hbm-consent label{font-weight:400;cursor:pointer}
#hbm-contribution-embed .hbm-consent a{text-decoration:underline;text-underline-offset:3px}
#hbm-contribution-embed .hbm-total{margin:18px 0 14px;padding-bottom:12px}
#hbm-contribution-embed .hbm-donate{width:100%;border:0;border-radius:10px;background:var(--hbm-navy);color:white;font:inherit;font-weight:600;padding:13px 20px;min-height:46px}
#hbm-contribution-embed .hbm-donate:hover{background:#173e68}
#hbm-contribution-embed .hbm-test-note{font-size:11px;text-align:center;color:var(--hbm-muted);margin-top:9px}
#hbm-contribution-embed .hbm-security{margin-top:20px;padding-top:15px;border-top:1px solid #e7e8e9}
#donate .checkout-inquiry{display:flex;justify-content:center;margin:20px auto 0}
#donate .payment-email-note{text-align:center}
#hbm-contribution-embed .hbm-transfer-inquiry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 24px;align-items:center;margin:4px 0 20px;padding:12px 18px;border:1px solid #e9e3d8;border-radius:10px;background:#faf8f4;font-family:var(--sans)}
#hbm-contribution-embed .hbm-transfer-inquiry h4{font-family:inherit;font-size:15px;font-weight:500;letter-spacing:-.01em;margin:0 0 4px;line-height:1.4}
#hbm-contribution-embed .hbm-transfer-inquiry p{font-family:inherit;font-size:13px;font-weight:400;line-height:1.5;color:var(--hbm-muted);margin:0}
#hbm-contribution-embed .hbm-transfer-contact{display:flex;flex-direction:column;align-items:flex-start;gap:0;min-width:0}
#hbm-contribution-embed .hbm-transfer-link{display:inline-flex;align-items:center;gap:8px;min-height:36px;font-family:inherit;font-size:13px;font-weight:500;text-decoration-color:#b99b55;text-underline-offset:5px}
#hbm-contribution-embed .hbm-transfer-link svg{flex:0 0 auto}
#hbm-contribution-embed .hbm-transfer-link:hover{color:#785b21}
#hbm-contribution-embed .hbm-transfer-email{font-family:inherit;font-size:11px;font-weight:400;line-height:1.5;color:var(--hbm-muted);overflow-wrap:anywhere}
@media(max-width:740px){
 #hbm-contribution-embed .hbm-transfer-inquiry{grid-template-columns:1fr;gap:6px;padding:12px 14px}
 #donate.support-section{padding:48px 18px 36px}
 #donate .support-intro .section-subtitle{font-size:19px;max-width:600px}
 #donate .funding-copy{font-size:14px}
 #donate .checkout-card{padding:24px 20px}
 #hbm-contribution-embed .hbm-checkout-grid{grid-template-columns:1fr;gap:24px}
 #hbm-contribution-embed .hbm-payment-column{padding-left:0;padding-top:22px;border-left:0;border-top:1px solid #e7e8e9}
 #hbm-contribution-embed .hbm-amount-row{grid-template-columns:1fr;gap:12px}
 #hbm-contribution-embed .hbm-fields input,#hbm-contribution-embed select,#hbm-contribution-embed textarea{font-size:16px}
}
@media(max-width:390px){#hbm-contribution-embed .hbm-fields{grid-template-columns:1fr}}

/* Keep the short tax notice readable on both payment paths. */
#hbm-contribution-embed .hbm-tax-note{margin:0 0 8px;color:var(--hbm-navy);font-size:.875rem;line-height:1.45}
