/* Donor Fuse drawn product visuals (shared). Simplified, on-brand versions of real screens with sample data.
   Used on the homepage; reuse the same classes on the Donor management, FusePay and Switching pages so the site
   reads as one family. Brand: forest green #2D413D, gold #A08E3C, light warm gray #D8D9D6, white. */
.dfui-frame, .dfui-float, .dfui-tile, .dfui-box, .dfui-deposit, .dfui-campaign, .dfui-checkout, .dfui-terminal, .dfui-phone { --g: #2d413d; --gold: #a08e3c; --gold2: #e3cf7a; --warm: #f3f3f1; --line: #e3e6e4; --mute: #7a8a85; --ok: #1f9d55; }
.dfui-hero, .dfui-solution, .dfui-gap, .dfui-pledge, .dfui-net, .dfui-funds, .dfui-batch, .dfui-pp, .dfui-switch, .dfui-campaign { --g: #2d413d; --gold: #a08e3c; --gold2: #e3cf7a; --warm: #f3f3f1; --line: #e3e6e4; --mute: #7a8a85; --ok: #1f9d55; color: var(--g); font-variant-numeric: tabular-nums; }
.dfui-hero p, .dfui-solution p, .dfui-gap p, .dfui-pledge p, .dfui-funds p, .dfui-batch p, .dfui-pp p, .dfui-campaign p, .dfui-tiles + * { margin: 0; }
.dfui-hero ul, .dfui-solution ul, .dfui-solution ol, .dfui-batch ul, .dfui-switch ul { margin: 0; padding: 0; list-style: none; }

/* building blocks */
.dfui-frame { overflow: hidden; border-radius: 1rem; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(45, 65, 61, .14); }
.dfui-bar { display: flex; align-items: center; gap: .35rem; padding: .65rem .9rem; border-bottom: 1px solid var(--line); background: #f7f8f7; font-size: .75rem; }
.dfui-bar i { width: .55rem; height: .55rem; border-radius: 50%; background: #d8d9d6; }
.dfui-bar b { margin-left: .5rem; color: var(--g); }
.dfui-body { display: grid; gap: .8rem; padding: 1rem; }
.dfui-h { margin: 0 0 .55rem !important; color: var(--g); font-size: .75rem; font-weight: 700; }
.dfui-tiles { display: grid; gap: .5rem; }
.dfui-tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dfui-tile { padding: .6rem .7rem; border-radius: .65rem; background: var(--warm); }
.dfui-tile small { display: block; color: var(--mute); font-size: .6875rem; line-height: 1.25; }
.dfui-tile b { display: block; margin-top: .15rem; color: var(--g); font-size: 1rem; }
.dfui-tiles-sm .dfui-tile { padding: .5rem .55rem; }
.dfui-tiles-sm .dfui-tile b { font-size: .875rem; }
.dfui-panel { padding: .8rem; border: 1px solid var(--line); border-radius: .75rem; }
.dfui-bars { display: flex; align-items: flex-end; gap: .3rem; height: 4.5rem; }
.dfui-bars i { flex: 1; height: var(--h); border-radius: .2rem .2rem 0 0; background: linear-gradient(180deg, var(--gold), var(--g)); }
.dfui-list li { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: .2rem .6rem; padding: .45rem 0; border-top: 1px solid var(--line); font-size: .8125rem; }
.dfui-list li:first-child { border-top: 0; }
.dfui-list small { grid-column: 2; color: var(--mute); font-size: .6875rem; }
.dfui-list li:has(small) { grid-template-rows: auto auto; }
.dfui-list li:has(small) .dfui-av { grid-row: span 2; }
.dfui-list li:has(small) em { grid-row: span 2; grid-column: 3; }
.dfui-list em { font-style: normal; font-weight: 700; }
.dfui-av { display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--g); color: var(--gold2); font-size: .625rem; font-weight: 700; letter-spacing: .02em; }
.dfui-av-lg { width: 2.75rem; height: 2.75rem; font-size: .875rem; }
.dfui-ok { display: inline-grid; place-items: center; flex: none; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--ok); color: #fff; font-size: .625rem; font-style: normal; font-weight: 700; }
.dfui-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem .2rem .25rem; border-radius: 999px; background: #e5f5ec; color: var(--ok); font-size: .6875rem; font-weight: 700; }
.dfui-sample { margin-top: .6rem !important; color: #a3aeaa; font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.dfui-dot { display: inline-block; width: .55rem; height: .55rem; margin-right: .3rem; border-radius: 50%; background: #d8d9d6; }
.dfui-dot-paid { background: var(--gold); }

/* hero: dashboard with three floating cards */
.dfui-hero { position: relative; padding: 2.5rem 1.5rem 3rem 2.5rem; }
.dfui-dash .dfui-panel:last-child { padding-bottom: .4rem; }
.dfui-float { position: absolute; z-index: 2; border-radius: .9rem; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(45, 65, 61, .18); font-size: .8125rem; }
.dfui-float b { display: block; color: var(--g); }
.dfui-float small { display: block; color: var(--mute); font-size: .6875rem; }
.dfui-float-a { left: -.5rem; top: 30%; width: 16.5rem; padding: .8rem; }
.dfui-float-b { right: -.75rem; top: .5rem; display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; }
.dfui-float-c { right: 1.5rem; bottom: 0; display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; }
.dfui-float-c .dfui-ok { width: 1.6rem; height: 1.6rem; font-size: .8rem; }
.dfui-ico-bank { width: 2rem; height: 2rem; border-radius: .6rem; background: var(--g) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3cf7a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5 12 4l9 5.5M5 10v8M9.7 10v8M14.3 10v8M19 10v8M3 20.5h18'/%3E%3C/svg%3E") center / 1.1rem no-repeat; }

/* problem: two totals that don't agree */
.dfui-gap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1rem; align-items: center; max-width: 34rem; margin: 2.5rem auto 0; }
.dfui-box { padding: 1.1rem 1.25rem; border-radius: .9rem; background: #fff; border: 1px solid #c9ccc8; text-align: left; }
.dfui-box small { display: block; color: var(--mute); font-size: .75rem; }
.dfui-box b { display: block; margin-top: .2rem; color: #5b6763; font-size: 1.35rem; }
.dfui-gapmark { display: flex; flex-direction: column; align-items: center; gap: .2rem; color: #9b5b4f; }
.dfui-gapmark span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px dashed #b88a80; font-size: 1.1rem; }
.dfui-gapmark small { font-size: .6875rem; font-weight: 600; white-space: nowrap; }

/* solution: the connected trail, the deposit opening into its donations */
.dfui-trail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-bottom: 1rem !important; }
.dfui-trail li { position: relative; padding: .7rem .75rem; border-radius: .8rem; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(45, 65, 61, .06); }
.dfui-trail li:not(:last-child)::after { content: ""; position: absolute; right: -.5rem; top: 50%; width: .5rem; height: 2px; background: var(--gold); }
.dfui-trail li:last-child { background: var(--g); border-color: var(--g); }
.dfui-trail small { display: block; color: var(--gold); font-size: .625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dfui-trail b { display: block; margin-top: .2rem; font-size: .75rem; line-height: 1.3; }
.dfui-trail li:last-child small { color: var(--gold2); }
.dfui-trail li:last-child b { color: #fff; }
.dfui-deposit { position: relative; margin-left: auto; width: min(100%, 25rem); padding: 1rem; border-radius: 1rem; background: #fff; border: 1.5px solid var(--g); box-shadow: 0 24px 60px rgba(45, 65, 61, .16); }
.dfui-deposit::before { content: ""; position: absolute; right: 2.5rem; top: -1rem; width: 2px; height: 1rem; background: var(--g); }
.dfui-deposit-h { display: grid; grid-template-columns: 1fr auto; gap: 0 1rem; padding-bottom: .6rem; margin-bottom: .2rem; border-bottom: 1px solid var(--line); }
.dfui-deposit-h small { grid-row: 2; color: var(--mute); font-size: .6875rem; }
.dfui-deposit-h em { grid-row: span 2; align-self: center; font-style: normal; font-weight: 700; font-size: 1.15rem; }
.dfui-list-checks li { grid-template-columns: auto 1fr auto auto; }
.dfui-total { display: flex; align-items: center; gap: .6rem; margin-top: .4rem !important; padding: .6rem .7rem; border-radius: .65rem; background: #e5f5ec; color: var(--ok); font-size: .8125rem; font-weight: 700; }
.dfui-total span { flex: 1; }

/* feature card pictures */
.dfui-pledge p { display: flex; justify-content: space-between; font-size: .8125rem; }
.dfui-meter { height: .6rem; margin: .55rem 0 .5rem; border-radius: 999px; background: #e6e7e4; overflow: hidden; }
.dfui-meter i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--gold); }
.dfui-meter-k { justify-content: flex-start !important; gap: 1rem; color: var(--mute); font-size: .6875rem !important; }
.dfui-net { display: flex; align-items: center; justify-content: space-between; gap: .3rem; }
.dfui-net > span { color: var(--mute); font-weight: 700; }
.dfui-net small { display: block; color: var(--mute); font-size: .625rem; }
.dfui-net b { display: block; font-size: .875rem; }
.dfui-net-total b { color: var(--gold); font-size: 1rem; }
.dfui-funds p { display: grid; grid-template-columns: 4.6rem 1fr auto; align-items: center; gap: .55rem; padding: .25rem 0; font-size: .75rem; }
.dfui-funds i { display: block; height: .5rem; width: var(--w); border-radius: 999px; background: var(--g); }
.dfui-funds p:nth-child(2) i { background: var(--gold); }
.dfui-funds p:nth-child(3) i { background: #8fc9bb; }
.dfui-batch-h { display: flex; justify-content: space-between; padding-bottom: .4rem; border-bottom: 1.5px solid var(--g); font-size: .8125rem; }
.dfui-batch-h em { font-style: normal; font-weight: 700; }
.dfui-batch li { display: flex; justify-content: space-between; padding: .3rem 0 .3rem .7rem; border-left: 2px solid var(--gold2); font-size: .75rem; }
.dfui-batch li span { color: var(--mute); }
.dfui-batch .dfui-fee b { color: #9b5b4f; }

/* products: one picture per card, same size */
.dfui-pp { display: grid; place-items: center; height: 13.5rem; border-radius: .9rem; background: var(--warm); overflow: hidden; }
.dfui-checkout { width: 12rem; padding: .9rem; border-radius: .9rem; background: #fff; box-shadow: 0 12px 30px rgba(45, 65, 61, .12); }
.dfui-amts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; margin-bottom: .55rem; }
.dfui-amts span { padding: .3rem 0; border-radius: .45rem; border: 1px solid var(--line); font-size: .6875rem; font-weight: 700; text-align: center; }
.dfui-amts .is-on { background: var(--g); border-color: var(--g); color: #fff; }
.dfui-amts-2 { grid-template-columns: repeat(2, 1fr); }
.dfui-pay { display: flex; align-items: center; justify-content: center; gap: .2rem; height: 1.7rem; margin-top: .3rem; border-radius: .45rem; font-size: .75rem; font-weight: 600; }
.dfui-pay svg { width: .8rem; height: .8rem; }
.dfui-pay-apple { background: #000; color: #fff; }
.dfui-pay-google { background: #fff; color: #5f6368; border: 1px solid #dadce0; }
.dfui-pay-card { background: #e5f5ec; color: #17784b; }
.dfui-terminal { width: 8.2rem; padding: .55rem .55rem .7rem; border-radius: 1.1rem; background: #23302d; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.dfui-term-screen { padding: .6rem; border-radius: .6rem; background: #fff; text-align: center; }
.dfui-term-logo { display: block; width: 1.5rem; height: 1rem; margin: 0 auto .3rem; border-radius: .25rem .25rem .1rem .1rem; background: var(--g); box-shadow: inset 0 .3rem 0 var(--gold); }
.dfui-term-screen .dfui-h { margin-bottom: .4rem !important; font-size: .625rem; }
.dfui-term-tap { color: var(--mute); font-size: .5625rem; }
.dfui-term-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; margin-top: .5rem; }
.dfui-term-keys i { height: .55rem; border-radius: .2rem; background: #3d4e4a; }
.dfui-phone { position: relative; width: 8.5rem; height: 12rem; padding: 1.6rem .6rem .6rem; border-radius: 1.4rem; background: #fff; border: 5px solid var(--g); text-align: center; box-shadow: 0 14px 30px rgba(45, 65, 61, .2); }
.dfui-phone-notch { position: absolute; left: 50%; top: .4rem; width: 2.6rem; height: .45rem; margin-left: -1.3rem; border-radius: 999px; background: var(--g); }
.dfui-phone-call small { display: block; color: var(--mute); font-size: .625rem; }
.dfui-phone-call b { display: block; font-size: .8125rem; }
.dfui-gift { display: flex; align-items: center; gap: .45rem; margin-top: 1.2rem; padding: .55rem; border-radius: .7rem; background: #e5f5ec; text-align: left; font-size: .6875rem; }
.dfui-gift b { display: block; color: #17784b; }
.dfui-gift small { color: var(--mute); }

/* switching: white lines on green, three sources into Donor Fuse */
.dfui-switch { display: grid; grid-template-columns: auto minmax(4rem, 8rem) auto; align-items: center; justify-content: center; gap: 0; margin: 2.5rem auto 0; color: #fff; }
.dfui-switch li { margin: .55rem 0; padding: .55rem .9rem; border-radius: .6rem; border: 1px solid rgba(255, 255, 255, .55); font-size: .875rem; font-weight: 600; text-align: center; }
.dfui-switch-lines { width: 100%; height: 9.5rem; }
.dfui-switch-lines path { fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 4 4; }
.dfui-switch-to { display: grid; place-items: center; width: 7rem; height: 5rem; border-radius: 1rem; border: 1.5px solid var(--gold2); background: rgba(255, 255, 255, .06); }
.dfui-switch-to img { width: 4.2rem; height: auto; }

/* final call to action: campaign summary */
.dfui-campaign { width: 100%; max-width: 21rem; padding: 1.4rem; border-radius: 1.1rem; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.dfui-campaign .dfui-h { font-size: .8125rem; }
.dfui-row { display: flex; justify-content: space-between; padding: .55rem 0; border-top: 1px solid var(--line); color: var(--mute); font-size: .9375rem; }
.dfui-row b { color: var(--g); }
.dfui-row-net { align-items: baseline; border-top: 1.5px solid var(--g); color: var(--g); font-weight: 700; }
.dfui-row-net b { color: var(--gold); font-size: 2rem; }

@media (max-width: 767px) {
  .dfui-hero { padding: 2.75rem 0 4rem; }
  .dfui-float-a { left: 0; top: auto; bottom: -1.5rem; width: 14rem; }
  .dfui-float-b { right: 0; top: 0; }
  .dfui-float-c { display: none; }
  .dfui-trail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dfui-trail li:nth-child(2)::after { display: none; }
  .dfui-gap { grid-template-columns: 1fr; justify-items: stretch; }
  .dfui-gapmark { flex-direction: row; justify-content: center; }
  .dfui-switch { grid-template-columns: 1fr; justify-items: center; }
  .dfui-switch ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
  .dfui-switch li { margin: 0; }
  .dfui-switch-lines { display: none; }
  .dfui-switch-to { margin-top: 1rem; }
}
