.processing-overlay[hidden], .processing-overlay [hidden] { display: none !important; }
#postpurchase-order-summary .line-item-qualifier{font-size:14px;line-height:1.5;color:#444;font-weight:400;margin-top:6px;overflow-wrap:break-word}
/* Only the two reversible D1/D2 close controls, never global focus styling. */
.downsell button[data-action="close-downsell"],
.downsell button[data-action="close-downsell"]:hover,
.downsell button[data-action="close-downsell"]:active,
.downsell button[data-action="close-downsell"]:focus {
 -webkit-appearance:none; appearance:none; -webkit-tap-highlight-color:transparent;
 outline:0; box-shadow:none; background:transparent; border-radius:50%; min-width:44px; min-height:44px;
}
.downsell button[data-action="close-downsell"].close-keyboard-focus:focus {
 outline:3px solid #ac397c; outline-offset:2px;
}
/* Locked offer pages must not hide their own terminal recovery controls. */
body[data-postpurchase-locked="true"] > .processing-overlay:not(#postpurchase-verification):not([hidden]) { display: grid !important; }
.processing-overlay { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 24px; background: rgba(19, 24, 36, .55); overflow-y: auto; box-sizing: border-box; }
.processing-overlay__panel { width: min(100%, 420px); max-height:calc(100dvh - 48px); overflow-y:auto; overscroll-behavior:contain; box-sizing: border-box; padding: 36px 30px; border-radius: 20px; background: #fff; color: #202335; text-align: center; box-shadow: 0 20px 65px rgba(0, 0, 0, .25); font-family: system-ui, sans-serif; }
.processing-overlay__actions select { width:100%; min-height:44px; font:inherit; padding:8px; }
.processing-overlay__panel:focus { outline: none; }
.processing-overlay__panel h2 { margin: 0 0 12px; font-size: 1.35rem; line-height: 1.3; }
.processing-overlay__panel p { margin: 0; color: #454b5d; line-height: 1.55; }
.processing-overlay__spinner { width: 44px; height: 44px; box-sizing: border-box; margin: 0 auto 22px; border: 4px solid #e9d9e8; border-top-color: #ac397c; border-radius: 50%; animation: processing-overlay-spin .8s linear infinite; }
.processing-overlay__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.processing-overlay__actions button, .processing-overlay__actions a { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid #96326b; border-radius: 9px; font: inherit; font-weight: 650; cursor: pointer; }
.processing-overlay__actions button { background: #96326b; color: white; }
.processing-overlay__actions a { background: white; color: #76214f; text-decoration: none; }
.processing-overlay__actions :focus-visible { outline: 3px solid #2066bd; outline-offset: 3px; }
.processing-overlay__announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@keyframes processing-overlay-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .processing-overlay__spinner { animation: none; } }
@media (max-width: 480px) { .processing-overlay { padding: 18px; } .processing-overlay__panel { padding: 30px 22px; } .processing-overlay__actions { flex-direction: column; } }
.instrument-recovery button, .instrument-recovery select { min-height:44px; padding:10px 14px; margin:6px 3px; border:1px solid #96326b; border-radius:9px; font:inherit; }
.instrument-recovery button { background:#96326b; color:#fff; cursor:pointer; }
.instrument-recovery button:disabled { opacity:.6; cursor:wait; }
.instrument-recovery select { width:100%; box-sizing:border-box; }
.instrument-recovery [data-card-fields] { text-align:left; margin-top:16px; }
.instrument-recovery [data-card-fields] > div { border:1px solid #747987; border-radius:6px; padding:8px; box-sizing:border-box; margin-bottom:10px; }
.instrument-recovery :focus-visible { outline:3px solid #2066bd; outline-offset:2px; }
/* Keep the approved CTA label, color and geometry while work is pending. */
.checkout-form button[type="submit"], [data-action="accept"], [data-action="accept-downsell"] { position: relative; }
.checkout-form button[type="submit"][aria-busy="true"]::after,
[data-action="accept"][aria-busy="true"]::after,
[data-action="accept-downsell"][aria-busy="true"]::after { content: ''; position: absolute; right: .65rem; top: calc(50% - .4rem); width: .8rem; height: .8rem; box-sizing: border-box; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: processing-overlay-spin .8s linear infinite; pointer-events: none; }
.checkout-form button:focus-visible, [data-action="accept"]:focus-visible, [data-action="accept-downsell"]:focus-visible { outline: 3px solid #13853E; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
 .checkout-form button[aria-busy="true"]::after, [data-action][aria-busy="true"]::after { animation: none; }
 html { scroll-behavior: auto !important; }
}
