[data-pix-monthly-choice] dialog{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--px-border,#dce8e1);border-radius:24px;padding:30px;background:var(--px-panel,#fff);color:var(--px-text,#102d23);box-shadow:0 24px 90px #00190f42;font-family:inherit}
[data-pix-monthly-choice] dialog::backdrop{background:#071e18a6;backdrop-filter:blur(7px)}
[data-pix-monthly-choice] *{box-sizing:border-box}
[data-pix-monthly-choice] .pmc-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}
[data-pix-monthly-choice] .pmc-label{font-size:12px;letter-spacing:.08em;font-weight:800;text-transform:uppercase;color:var(--px-accent,#07894e)}
[data-pix-monthly-choice] .pmc-close{border:1px solid var(--px-border,#dce8e1);border-radius:50%;width:36px;height:36px;background:transparent;color:inherit;font-size:24px;cursor:pointer;flex:none}
[data-pix-monthly-choice] h2{font-size:27px;line-height:1.15;letter-spacing:-.035em;margin:0 0 12px}
.pmc-receipt{background:var(--px-panel,#fff);color:var(--px-text,#102d23);border:1px solid var(--px-border,#cde3d6);border-radius:20px;padding:24px;margin:24px 0}.pmc-receipt header{display:flex;align-items:center;gap:18px}.pmc-receipt header img{width:74px;max-height:40px}.pmc-receipt h3{margin:0}.pmc-receipt-grid{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:28px;align-items:center}.pmc-receipt-grid>[data-auto-qr]{width:100%;background:white;border-radius:14px;padding:16px}.pmc-receipt dl{display:grid;gap:12px}.pmc-receipt dt{font-size:13px;color:var(--px-muted,#51665a)}.pmc-receipt dd{margin:0;font-weight:700}.pmc-receipt label{display:block}.pmc-receipt textarea{display:block;box-sizing:border-box;width:100%;min-height:72px;padding:12px;border:1px solid var(--px-border,#cde3d6);border-radius:10px;background:var(--px-panel,#fff);color:inherit;resize:vertical}.pmc-receipt button{margin-top:12px;padding:12px 22px;border-radius:10px;border:1px solid var(--px-border,#b4d4c1);background:var(--px-accent,#07894e);color:var(--px-accent-ink,#fff);font:inherit;font-weight:700;cursor:pointer}.pmc-receipt button:disabled{opacity:.65;cursor:default}@media(max-width:600px){.pmc-receipt{padding:18px}.pmc-receipt-grid{grid-template-columns:1fr}.pmc-receipt-grid>[data-auto-qr]{max-width:260px;margin:auto}.pmc-receipt header{align-items:flex-start}}
[data-pix-monthly-choice] p{font-size:15px;line-height:1.55;color:var(--px-muted,#52685f);margin:0 0 22px}
[data-pix-monthly-choice] .pmc-options{display:grid;gap:12px}
[data-pix-monthly-choice] .pmc-option{display:flex;gap:14px;text-align:left;align-items:flex-start;padding:20px;border:1px solid var(--px-border,#dce8e1);border-radius:16px;background:transparent;color:inherit;font:inherit;cursor:pointer;width:100%}
[data-pix-monthly-choice] .pmc-option:hover,[data-pix-monthly-choice] .pmc-option:focus-visible{outline:2px solid var(--px-accent,#079653);outline-offset:2px}
[data-pix-monthly-choice] .pmc-option--auto{border-color:var(--px-accent,#079653);background:var(--px-accent-soft,color-mix(in srgb,var(--px-accent,#079653) 12%,transparent))}
[data-pix-monthly-choice] .pmc-symbol{display:grid;place-items:center;width:72px;height:36px;flex:none}
[data-pix-monthly-choice] .pmc-symbol img{display:block;width:72px;height:auto;max-width:100%;object-fit:contain}
[data-pix-monthly-choice] strong{display:block;font-size:16px;margin-bottom:6px}
[data-pix-monthly-choice] small{display:block;color:var(--px-muted,#52685f);font-size:13px;line-height:1.5}
[data-pix-monthly-choice] .pmc-footnote{margin:20px 0 0;font-size:12px;line-height:1.6}
@media(max-width:480px){[data-pix-monthly-choice] dialog{padding:22px;border-radius:20px}[data-pix-monthly-choice] h2{font-size:25px}[data-pix-monthly-choice] .pmc-option{padding:16px;gap:12px}}

[data-pix-monthly-choice] .pmc-terms{display:grid;gap:12px;margin:0 0 24px;padding:16px;border:1px solid var(--px-border,#dce8e1);border-radius:14px;color:var(--px-text,#102d23)}
[data-pix-monthly-choice] .pmc-terms div{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 16px}
[data-pix-monthly-choice] .pmc-terms dt{font-size:13px;color:var(--px-muted,#52685f)}
[data-pix-monthly-choice] .pmc-terms dd{margin:0;font-size:15px;font-weight:700}
.pmc-receipt [data-auto-note]{margin-top:16px}.pmc-receipt [data-auto-status]{margin-left:8px}.pmc-receipt [data-auto-code-label][hidden]{display:none}

.pmc-receipt-grid:has(>[data-auto-qr][hidden]){grid-template-columns:minmax(0,1fr)}

/* Once the provider response is shown, the receipt owns the payment area.
   Do not let the approved method-selection grid split status and receipt. */
[data-px-checkout-step="4"].is-active:has(>.pmc-receipt:not([hidden])){grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
[data-px-checkout-step="4"]:has(>.pmc-receipt:not([hidden]))>.px-checkout__payment-fieldset,
[data-px-checkout-step="4"]:has(>.pmc-receipt:not([hidden]))>.px-checkout__payment-summary,
[data-px-checkout-step="4"]:has(>.pmc-receipt:not([hidden]))>.px-visual-payment-security{display:none!important}
[data-px-checkout-step="4"]>.pmc-receipt,
[data-px-checkout-step="4"]:has(>.pmc-receipt:not([hidden]))>[data-checkout-status]{grid-column:1/-1;min-width:0;margin:0}
.pmc-receipt h3{font-size:24px;line-height:1.25}
@media(max-width:600px){.pmc-receipt h3{font-size:20px}.pmc-receipt header{gap:12px}.pmc-receipt header img{width:58px}}

/* Automatic-Pix response: a balanced checkout panel, separate from the chooser. */
.pmc-receipt{padding:24px;border-radius:20px;background:linear-gradient(145deg,#fff 70%,#f4fbf6);box-shadow:0 8px 28px #123e2810}
.pmc-receipt header{justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid #e3ece6}
.pmc-receipt-brand{display:flex;align-items:center;gap:14px;font-size:11px;font-weight:800;letter-spacing:.09em;color:#2b6750}
.pmc-receipt-brand img{width:68px;max-height:36px}
.pmc-receipt-badge{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:999px;background:#fff6de;color:#805d17;font-size:12px;font-weight:700;white-space:nowrap}
.pmc-receipt-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:#c89729}
.pmc-receipt-intro{margin:20px 0}
.pmc-receipt-intro h3{font-size:24px;line-height:1.2;letter-spacing:-.025em}
.pmc-receipt-intro p{margin:8px 0 0;color:#53665d;font-size:14px;line-height:1.5;max-width:680px}
.pmc-receipt-grid,.pmc-receipt-grid:has(>[data-auto-qr][hidden]){grid-template-columns:minmax(230px,.85fr) minmax(0,1.15fr);gap:28px;align-items:start}
.pmc-qr-card{text-align:center;padding:20px;border:1px solid #dce8e0;border-radius:16px;background:#f5faf6}
.pmc-qr-card>strong{font-size:13px;color:#234b36}
.pmc-qr-frame{display:grid;place-items:center;aspect-ratio:1;max-width:228px;margin:16px auto;background:#fff;border:1px solid #e0e9e3;border-radius:12px;padding:14px;box-sizing:border-box}
.pmc-qr-frame>[data-auto-qr]{display:block;width:100%;height:auto;max-height:210px;object-fit:contain}
.pmc-qr-card>p{max-width:240px;margin:12px auto 0;font-size:12px;line-height:1.5;color:#607368}
.pmc-qr-empty{display:grid;justify-items:center;gap:10px;line-height:1.45;color:#64776b}
.pmc-qr-empty img{width:80px;max-height:42px}.pmc-qr-empty strong{font-size:14px;color:#335842}.pmc-qr-empty span{font-size:12px}
.pmc-payment-details dl{margin:0 0 20px;gap:0;border:1px solid #dce8e0;border-radius:14px;overflow:hidden;background:#fff}
.pmc-payment-details dl>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 18px;border-bottom:1px solid #e5ede8}
.pmc-payment-details dl>div:last-child{border:0}.pmc-payment-details dt{font-size:13px;line-height:1.4}.pmc-payment-details dd{font-size:15px;text-align:right;white-space:nowrap}
.pmc-payment-details .pmc-first-amount{background:#edf9f1}.pmc-first-amount dd{font-size:26px;font-weight:850;letter-spacing:-.03em;color:#087d45}
.pmc-payment-details label{font-size:12px;font-weight:700;color:#52685a}
.pmc-payment-details textarea{min-height:64px;max-height:100px;margin-top:8px;font-size:11px;line-height:1.5;background:#f8fbf9;color:#53705f;overflow-wrap:anywhere}
.pmc-receipt-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.pmc-receipt-actions>button{margin:0!important;min-height:44px;padding:10px 16px;font-size:13px}
.pmc-receipt-actions>[data-auto-status]{background:#fff;color:#17623d;border-color:#bad1c3}
.pmc-receipt [data-auto-note]{margin:20px 0 0;padding:14px 16px;border:1px solid #dcebe1;border-radius:12px;background:#f1f8f3;color:#466653;font-size:12px;line-height:1.5}
.pmc-qr-frame>[hidden],.pmc-qr-card[hidden]{display:none!important}
.pmc-receipt-grid:has(>.pmc-qr-card[hidden]){grid-template-columns:minmax(0,1fr)}
@media(max-width:600px){.pmc-receipt{padding:18px}.pmc-receipt header{align-items:flex-start;gap:10px;flex-wrap:wrap}.pmc-receipt-brand{gap:10px;font-size:10px}.pmc-receipt-brand img{width:60px}.pmc-receipt-badge{font-size:10px;padding:7px 10px}.pmc-receipt-intro h3{font-size:21px}.pmc-receipt-grid{grid-template-columns:minmax(0,1fr);gap:18px}.pmc-qr-card{padding:16px}.pmc-payment-details dl>div{padding:13px}.pmc-first-amount dd{font-size:24px}.pmc-receipt-actions{display:grid;grid-template-columns:1fr}.pmc-receipt-actions>button{width:100%}}
