.fma-referrals { min-width: 0; max-width: 100%; }
.fma-credit-balances { display:flex; flex-wrap:wrap; gap:16px; margin:20px 0; }
.fma-credit-balance { flex:1 1 240px; min-width:0; padding:18px; border:1px solid #dce2e5; border-left:4px solid #9e2331; border-radius:6px; background:#f2f5f4; }
.fma-credit-balance span, .fma-credit-balance small { display:block; color:#52616c; }
.fma-credit-balance strong { display:block; margin:6px 0; color:#193e55; font-size:24px; }
.fma-referrals label { display: block; font-weight: 600; }
.fma-referrals input[type="url"] { display: block; box-sizing: border-box; min-height: 44px; margin-top: 8px; padding: 10px 12px; border: 1px solid #71818b; border-radius: 4px; background: #fff; color: #172b38; font: inherit; font-weight: 400; }
.fma-referrals table { width: 100%; border-collapse: collapse; margin-top: 24px; table-layout: fixed; }
.fma-referrals th, .fma-referrals td { padding: 12px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid #dce2e5; overflow-wrap: anywhere; }
.fma-referrals th { background: #f2f5f4; }
.fma-referrals button { min-height: 44px; padding: 8px 16px; cursor: pointer; }
.fma-referrals input:focus-visible, .fma-referrals button:focus-visible { outline: 2px solid #922334; outline-offset: 3px; }
.fma-refund-history { min-width:0; }
.fma-refund-history table { border-collapse:collapse; margin-top:20px; table-layout:fixed; width:100%; }
.fma-refund-history th, .fma-refund-history td { border-bottom:1px solid #dce2e5; overflow-wrap:anywhere; padding:12px 8px; text-align:left; vertical-align:top; }
.fma-refund-history th { background:#f2f5f4; }
.fma-refund-status { color:#193e55; font-weight:700; }
@media (max-width:640px) { .fma-refund-history { overflow-x:auto; } .fma-refund-history table { min-width:680px; } }
.fma-charity-impact { border:1px solid #dce2e5; border-left:4px solid #b8893b; border-radius:6px; background:#fff; padding:28px; }
.fma-charity-impact--community { display:grid; grid-template-columns:minmax(0,1fr); background:#f2f5f4; }
.fma-charity-impact h2 { color:#193e55; margin:4px 0 10px; }
.fma-charity-impact p { color:#52616c; max-width:720px; }
.fma-charity-impact__eyebrow { color:#9e2331 !important; font-size:13px; font-weight:700; letter-spacing:.04em; margin:0 !important; text-transform:uppercase; }
.fma-charity-impact__totals { display:flex; flex-wrap:wrap; gap:16px; margin:22px 0; }
.fma-charity-impact__totals > div { background:#fff; border:1px solid #dce2e5; border-radius:6px; flex:1 1 220px; padding:16px; }
.fma-charity-impact__totals span, .fma-charity-impact__totals small { color:#52616c; display:block; font-size:13px; }
.fma-charity-impact__totals strong { color:#193e55; display:block; font-size:26px; margin:6px 0; }
.fma-charity-impact__empty { margin-bottom:0; }
.fma-charity-admin-totals { display:flex; flex-wrap:wrap; gap:16px; margin:20px 0 28px; }
.fma-charity-admin-totals section { background:#fff; border:1px solid #ccd7dc; border-left:4px solid #b8893b; border-radius:4px; display:grid; gap:5px; min-width:220px; padding:18px; }
.fma-charity-admin-totals span, .fma-charity-admin-totals small { color:#52616c; }
.fma-charity-admin-totals strong { color:#193e55; font-size:24px; }
@media (max-width:640px) { .fma-charity-impact { padding:20px; } .fma-charity-impact__totals > div { flex-basis:100%; } }
