/* APD 746 — premium payment, payout, receipt and solidarity surfaces. */
:root{
  --apd746-ink:#10192b;
  --apd746-muted:#657187;
  --apd746-line:#dce5f0;
  --apd746-blue:#082f67;
  --apd746-blue2:#0967b2;
  --apd746-soft:#f4f8fe;
  --apd746-gold:#dcae4b;
  --apd746-ok:#087941;
  --apd746-shadow:0 22px 55px rgba(19,44,82,.12),inset 0 1px 0 #fff;
}

body.apd746-release .apd710-payments-page,
body.apd746-release .apd746-payment-action-page{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",sans-serif;color:var(--apd746-ink)}

/* Every actionable control gets the same visible three-dot working state. */
body.apd746-release :is(a,button,summary,[role="button"]){-webkit-tap-highlight-color:transparent}
body.apd746-release .is-apd746-loading{position:relative!important;isolation:isolate;pointer-events:none!important;color:transparent!important;text-shadow:none!important}
body.apd746-release .is-apd746-loading>*{visibility:hidden!important}
body.apd746-release .is-apd746-loading:after{content:""!important;position:absolute!important;z-index:4!important;left:50%!important;top:50%!important;width:7px!important;height:7px!important;margin:-3.5px 0 0 -15px!important;border-radius:50%!important;background:#0d4b85!important;box-shadow:12px 0 #0d4b85,24px 0 #0d4b85!important;visibility:visible!important;animation:apd746Dots .72s infinite ease-in-out!important}
body.apd746-release :is(.apd710-primary-button,.apd737-primary-action,.apd735-primary-action,.apd746-answer-done).is-apd746-loading:after{background:#fff!important;box-shadow:12px 0 #fff,24px 0 #fff!important}
@keyframes apd746Dots{0%,100%{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}

/* Original Mercado Pago artwork sits on an unmodified white brand tile. */
body.apd746-release :is(.apd737-method-mark,.apd735-mp-mark).apd739-mp-logo{display:grid!important;flex:0 0 86px!important;width:86px!important;height:86px!important;min-width:86px!important;margin:0 22px 0 0!important;padding:12px!important;place-items:center!important;border:1px solid #d9e8f1!important;border-radius:23px!important;background:#fff!important;box-shadow:0 13px 28px rgba(6,75,123,.14),inset 0 1px 0 #fff!important;overflow:hidden!important}
body.apd746-release :is(.apd737-method-mark,.apd735-mp-mark).apd739-mp-logo img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;filter:none!important}

/* Standalone forms and receipts: force the final cascade even on late templates. */
html body.apd746-payment-action,
html body.apd746-payment-action #page-wrap,
html body.apd746-payment-action .apd271-mobile-main,
html body.apd746-payment-action .apd708-app-main{min-height:100vh!important;color:var(--apd746-ink)!important;background:radial-gradient(circle at 92% 3%,rgba(182,213,255,.42),transparent 30%),radial-gradient(circle at 4% 2%,rgba(255,239,198,.32),transparent 24%),#f5f8fc!important}
html body.apd746-payment-action .apd746-payment-action-page{display:block!important;position:relative!important;z-index:20!important;width:min(100%,780px)!important;min-height:100vh!important;margin:0 auto!important;padding:max(28px,calc(env(safe-area-inset-top,0px) + 20px)) 24px max(82px,calc(env(safe-area-inset-bottom,0px) + 46px))!important;color:var(--apd746-ink)!important;background:transparent!important;box-sizing:border-box!important;text-align:left!important}
html body.apd746-payment-action .apd746-payment-action-page *{box-sizing:border-box!important}
html body.apd746-payment-action .apd746-payment-action-page :is(h1,h2,h3,p,span,strong,small,b,em,dt,dd,label,li,a){-webkit-text-fill-color:currentColor;text-shadow:none!important}
html body.apd746-payment-action .apd746-payment-action-page>h1{margin:0 0 16px!important;color:#0d1728!important;font-size:clamp(40px,7.2vw,58px)!important;font-weight:900!important;line-height:1.02!important;letter-spacing:-.052em!important}

html body.apd746-payment-action .apd737-action-card,
html body.apd746-payment-action .apd737-provider-connect,
html body.apd746-payment-action .apd739-provider-status,
html body.apd746-payment-action .apd742-country-card{border:1px solid var(--apd746-line)!important;border-radius:27px!important;background:linear-gradient(145deg,#fff,#f7faff)!important;box-shadow:var(--apd746-shadow)!important}
html body.apd746-payment-action :is(.apd737-method-card,.apd746-icon-card){display:flex!important;align-items:center!important;gap:0!important;padding:22px!important}
html body.apd746-payment-action :is(.apd737-method-card,.apd746-icon-card)>span:last-of-type{display:grid!important;min-width:0!important;gap:6px!important}
html body.apd746-payment-action :is(.apd737-method-card,.apd746-icon-card)>span:last-of-type>strong{display:block!important;color:#112342!important;font-size:21px!important;font-weight:850!important;line-height:1.15!important}
html body.apd746-payment-action :is(.apd737-method-card,.apd746-icon-card)>span:last-of-type>:is(small,em){display:block!important;color:#637188!important;font-size:14px!important;font-style:normal!important;line-height:1.45!important}
html body.apd746-payment-action .apd746-icon-card>img{flex:0 0 82px!important;width:82px!important;height:82px!important;margin-right:20px!important;object-fit:contain!important;filter:drop-shadow(0 13px 13px rgba(14,49,96,.18))!important}

.apd746-section-title{display:flex!important;align-items:center!important;gap:14px!important;margin:0 0 18px!important}
.apd746-section-title>img{flex:0 0 68px!important;width:68px!important;height:68px!important;object-fit:contain!important;filter:drop-shadow(0 10px 12px rgba(15,53,106,.18))!important}
.apd746-section-title>:is(h2,h3){margin:0!important;color:#11213a!important;font-size:22px!important;font-weight:900!important;letter-spacing:-.025em!important}
.apd746-saved-methods>p{margin-left:82px!important;color:#657187!important;line-height:1.55!important}
html body.apd746-payment-action .apd744-payout-steps{display:none!important}
html body.apd746-payment-action .apd737-primary-action{overflow:hidden!important;border:1px solid rgba(86,171,235,.36)!important;background:linear-gradient(145deg,#071d3e,#0874bd)!important;box-shadow:0 17px 36px rgba(5,60,116,.26),inset 0 1px 0 rgba(255,255,255,.18)!important;transition:transform .16s ease,box-shadow .16s ease!important}
html body.apd746-payment-action .apd737-primary-action:active{transform:translateY(2px) scale(.993)!important;box-shadow:0 9px 20px rgba(5,60,116,.2),inset 0 1px 0 rgba(255,255,255,.12)!important}
.apd746-settlement-card .apd739-settlement-grid{margin-top:4px!important}

/* Receipt: isolated, readable cards with no joined strings. */
html body.apd746-payment-action .apd746-receipt-card{display:block!important;width:100%!important;overflow:hidden!important;border:1px solid #d5e1ef!important;border-radius:31px!important;background:#fff!important;box-shadow:0 28px 70px rgba(17,43,84,.16)!important}
html body.apd746-payment-action .apd746-receipt-hero{display:grid!important;grid-template-columns:132px minmax(0,1fr)!important;gap:22px!important;align-items:center!important;margin:0!important;padding:28px!important;background:radial-gradient(circle at 10% 15%,rgba(62,136,231,.16),transparent 38%),linear-gradient(135deg,#fff,#edf5ff)!important;border-bottom:1px solid #dce6f2!important}
html body.apd746-payment-action .apd746-receipt-hero>img{display:block!important;width:132px!important;height:132px!important;object-fit:contain!important;filter:drop-shadow(0 16px 18px rgba(14,49,98,.22))!important}
html body.apd746-payment-action .apd746-receipt-hero small{display:block!important;color:#19768f!important;font-size:11px!important;font-weight:900!important;letter-spacing:.18em!important}
html body.apd746-payment-action .apd746-receipt-hero h2{display:block!important;margin:6px 0 10px!important;color:#0e1a2e!important;font-size:36px!important;font-weight:900!important;line-height:1!important}
html body.apd746-payment-action .apd745-receipt-total{display:block!important;padding:26px 28px!important;background:linear-gradient(120deg,#071a3a,#0b4f88)!important;color:#fff!important}
html body.apd746-payment-action .apd745-receipt-total>*{display:block!important}.apd745-receipt-total strong{margin:5px 0!important;white-space:normal!important}
html body.apd746-payment-action .apd745-receipt-section{display:block!important;padding:27px 28px!important;border-bottom:1px solid #e0e7f0!important;background:#fff!important}
html body.apd746-payment-action .apd745-receipt-items>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:18px!important;align-items:center!important;padding:16px!important;border:1px solid #e2e8f1!important;border-radius:17px!important;background:#f8faff!important}
html body.apd746-payment-action .apd745-receipt-items span>*{display:block!important}.apd745-receipt-items b{white-space:nowrap!important}
html body.apd746-payment-action .apd745-receipt-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0!important}
html body.apd746-payment-action .apd745-receipt-grid>div{display:block!important;min-width:0!important;padding:16px!important;border:1px solid #dee6f0!important;border-radius:17px!important;background:#f7f9fd!important}
html body.apd746-payment-action .apd745-receipt-grid dt{display:block!important;color:#748197!important;font-size:11px!important;font-weight:900!important;letter-spacing:.1em!important;text-transform:uppercase!important}.apd745-receipt-grid dd{display:block!important;margin:6px 0 0!important;color:#172941!important;font-weight:800!important;overflow-wrap:anywhere!important}
html body.apd746-payment-action .apd745-receipt-audit{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:15px!important;align-items:center!important;margin:22px 28px 28px!important;padding:17px!important;border:1px solid #bcd8f2!important;border-radius:20px!important;background:linear-gradient(145deg,#eef8ff,#fff)!important}
html body.apd746-payment-action .apd745-receipt-audit>img{display:block!important;width:76px!important;height:76px!important;object-fit:contain!important;filter:drop-shadow(0 10px 12px rgba(13,56,111,.18))!important}

/* Payments overview: separated premium modules. */
body.apd746-release .apd710-payments-page .apd710-tab-panel>[class]{border-radius:27px}
body.apd746-release .apd710-payment-hero,
body.apd746-release .apd710-reference-block,
body.apd746-release .apd710-payout-intro,
body.apd746-release .apd710-help-card,
body.apd746-release .apd710-payout-history,
body.apd746-release .apd710-donation-intro,
body.apd746-release .apd710-faqs{border:1px solid var(--apd746-line)!important;background:linear-gradient(145deg,#fff,#f8faff)!important;box-shadow:var(--apd746-shadow)!important}
body.apd746-release .apd710-payment-hero,
body.apd746-release .apd710-reference-block,
body.apd746-release .apd710-payout-intro,
body.apd746-release .apd710-help-card,
body.apd746-release .apd710-payout-history,
body.apd746-release .apd710-donation-intro,
body.apd746-release .apd710-faqs{margin:0 0 22px!important;padding:27px!important}
body.apd746-release .apd710-reference-block:before,
body.apd746-release .apd710-reference-block:after{display:none!important;content:none!important}
.apd746-module-head{display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;gap:14px!important;align-items:center!important;margin:0 0 8px!important}.apd746-module-head>img{display:block!important;width:82px!important;height:82px!important;object-fit:contain!important;filter:drop-shadow(0 12px 13px rgba(14,50,99,.18))!important}.apd746-module-head>h2{margin:0!important;color:#111d32!important;font-size:clamp(27px,5vw,38px)!important;font-weight:900!important;letter-spacing:-.04em!important}
body.apd746-release .apd710-payment-hero>p,
body.apd746-release .apd710-reference-block>p,
body.apd746-release .apd710-payout-intro>p{margin:8px 0 20px!important;color:#667287!important;font-size:16px!important;line-height:1.55!important}
body.apd746-release .apd746-help-card>header{display:flex;align-items:center;gap:14px;padding:4px 22px 12px}
body.apd746-release .apd746-help-card>header img{width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 10px 12px rgba(15,52,103,.18))}
body.apd746-release .apd746-help-card>header h2{margin:0!important}
body.apd746-release .apd746-help-card>button{display:flex!important;width:100%!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:20px 22px!important;border:0!important;border-top:1px solid #e3e8ef!important;color:#172238!important;background:transparent!important;text-align:left!important;font:inherit!important;font-weight:780!important}
body.apd746-release .apd746-help-card>button b{font-size:28px;color:#0c4c82}
body.apd746-release .apd746-text-button,
body.apd746-release .apd746-inline-answer,
body.apd746-release .apd710-donation-terms button{padding:0;border:0;color:#07518c;background:none;font:inherit;font-weight:800;text-decoration:underline;text-underline-offset:3px}

/* Solidarity: explicit opt-in, real named destination and official link. */
.apd746-donation-heading{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:center;margin-bottom:14px}.apd746-donation-heading img{width:96px;height:96px;object-fit:contain;filter:drop-shadow(0 14px 14px rgba(14,48,96,.19))}.apd746-donation-heading small{display:block;margin-bottom:5px;color:#17758b;font-size:10px;font-weight:900;letter-spacing:.12em}.apd746-donation-heading h2{margin:0!important}
.apd746-cause-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:16px 0 28px}
.apd746-cause-card{position:relative;overflow:hidden;border:1px solid #dce4ee;border-radius:22px;background:#fff;box-shadow:0 11px 28px rgba(18,43,81,.07);transition:.18s ease}
.apd746-cause-card.is-selected{border-color:#1684cd;box-shadow:0 0 0 4px rgba(22,132,205,.12),0 15px 34px rgba(15,73,129,.14);transform:translateY(-2px)}
.apd746-cause-card>button{display:grid;width:100%;grid-template-columns:76px minmax(0,1fr) 24px;gap:11px;align-items:center;padding:14px;border:0;color:var(--apd746-ink);background:transparent;text-align:left}
.apd746-cause-card>button img{width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 9px 10px rgba(16,47,91,.16))}.apd746-cause-card>button span>*{display:block}.apd746-cause-card>button small{color:#24788b;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.apd746-cause-card>button strong{margin:3px 0;color:#14223a;font-size:15px;line-height:1.2}.apd746-cause-card>button em{color:#68758a;font-size:11px;font-style:normal;line-height:1.35}.apd746-cause-card>button>b{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;color:#fff;background:#d8dfe8;font-size:12px}.apd746-cause-card.is-selected>button>b{background:linear-gradient(145deg,#079451,#08703e)}
.apd746-cause-card>a{display:block;padding:11px 14px;border-top:1px solid #e6ebf1;color:#0b568f;font-size:11px;font-weight:800;text-decoration:none}
.apd746-trust-section>p{color:#68758a}.apd746-trust-section .apd710-impact-rail article>small{display:block;margin:12px 14px 2px;color:#21768b;font-size:10px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.apd746-trust-section .apd710-impact-rail article>a{display:flex;justify-content:space-between;margin:10px 14px 15px;color:#07518c;font-weight:800;text-decoration:none}

/* Premium first-party answer sheet; no redirects to retired help pages. */
html.apd746-answer-open,html.apd746-answer-open body{overflow:hidden!important}
.apd746-answer-modal[hidden]{display:none!important}.apd746-answer-modal{position:fixed;z-index:2147483000;inset:0;display:grid;align-items:end;justify-items:center;padding:18px}.apd746-answer-backdrop{position:absolute;inset:0;border:0;background:rgba(4,16,35,.56);backdrop-filter:blur(8px);opacity:0;transition:opacity .22s}.apd746-answer-modal>section{position:relative;width:min(100%,640px);max-height:min(82vh,720px);overflow:auto;padding:24px 24px calc(25px + env(safe-area-inset-bottom));border:1px solid rgba(255,255,255,.75);border-radius:30px;background:radial-gradient(circle at 90% 0,rgba(183,217,255,.5),transparent 32%),#fff;box-shadow:0 30px 90px rgba(3,18,43,.34);transform:translateY(28px);opacity:0;transition:.24s ease}.apd746-answer-modal.is-open .apd746-answer-backdrop{opacity:1}.apd746-answer-modal.is-open>section{transform:translateY(0);opacity:1}
.apd746-answer-modal>section>header{display:flex;align-items:center;justify-content:space-between}.apd746-answer-modal>section>header img{width:88px;height:88px;object-fit:contain;filter:drop-shadow(0 12px 12px rgba(15,50,99,.18))}.apd746-answer-modal>section>header button{display:grid;width:46px;height:46px;place-items:center;border:0;border-radius:50%;color:#16243a;background:#edf2f8;font-size:28px}.apd746-answer-modal>section>small{display:block;margin-top:7px;color:#19758a;font-size:10px;font-weight:900;letter-spacing:.15em}.apd746-answer-modal h2{margin:7px 0 17px!important;color:#0e192c;font-size:32px!important;font-weight:900!important;letter-spacing:-.04em!important}.apd746-answer-modal [data-apd746-answer-copy]{display:grid;gap:10px}.apd746-answer-modal [data-apd746-answer-copy] p{margin:0!important;padding:16px 17px;border:1px solid #e0e7f0;border-radius:17px;color:#59677d!important;background:#f7f9fd;font-size:15px!important;line-height:1.55!important}.apd746-answer-done{width:100%;margin-top:18px;padding:16px;border:0;border-radius:17px;color:#fff;background:linear-gradient(145deg,#071e41,#0872b7);box-shadow:0 14px 28px rgba(7,69,127,.22);font-size:16px;font-weight:850}

@media(max-width:767px){
  html body.apd746-payment-action .apd746-payment-action-page{padding-left:16px!important;padding-right:16px!important}
  body.apd746-release :is(.apd737-method-mark,.apd735-mp-mark).apd739-mp-logo{flex-basis:74px!important;width:74px!important;height:74px!important;min-width:74px!important;margin-right:15px!important;padding:9px!important}
  html body.apd746-payment-action :is(.apd737-method-card,.apd746-icon-card){padding:18px!important}
  html body.apd746-payment-action .apd746-icon-card>img{flex-basis:68px!important;width:68px!important;height:68px!important;margin-right:14px!important}
  html body.apd746-payment-action .apd746-receipt-card{border-radius:25px!important}
  html body.apd746-payment-action .apd746-receipt-hero{grid-template-columns:92px minmax(0,1fr)!important;gap:13px!important;padding:20px 17px!important}
  html body.apd746-payment-action .apd746-receipt-hero>img{width:92px!important;height:92px!important}
  html body.apd746-payment-action .apd746-receipt-hero h2{font-size:27px!important}
  html body.apd746-payment-action .apd745-receipt-total{padding:22px 20px!important}.apd745-receipt-total strong{font-size:29px!important}
  html body.apd746-payment-action .apd745-receipt-section{padding:22px 18px!important}
  html body.apd746-payment-action .apd745-receipt-grid{grid-template-columns:1fr!important}
  html body.apd746-payment-action .apd745-receipt-audit{grid-template-columns:65px minmax(0,1fr)!important;margin:19px 18px 23px!important;padding:14px!important}.apd745-receipt-audit>img{width:65px!important;height:65px!important}
  .apd746-section-title>img{flex-basis:58px!important;width:58px!important;height:58px!important}.apd746-section-title>:is(h2,h3){font-size:20px!important}.apd746-saved-methods>p{margin-left:0!important}
  .apd746-cause-grid{grid-template-columns:1fr}.apd746-cause-card>button{grid-template-columns:82px minmax(0,1fr) 24px}.apd746-cause-card>button img{width:82px;height:82px}
  .apd746-answer-modal{padding:0;align-items:end}.apd746-answer-modal>section{width:100%;max-height:88dvh;border-radius:30px 30px 0 0;padding:21px 18px calc(22px + env(safe-area-inset-bottom))}.apd746-answer-modal h2{font-size:28px!important}
}

@media(prefers-reduced-motion:reduce){body.apd746-release *{animation-duration:.01ms!important;transition-duration:.01ms!important}}
