.cd-invoice{width:min(520px,calc(100vw - 24px));height:min(850px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;border:0;border-radius:20px;padding:0;color:#25394d;background:#f5f7fa;overflow:hidden;font-family:inherit}.cd-invoice[open]{display:flex;flex-direction:column}.cd-invoice::backdrop,.ci-coupon-dialog::backdrop{background:#18334a80}.ci-header{flex-shrink:0;display:grid;grid-template-columns:40px 1fr 40px;align-items:center;padding:15px 18px;background:#fff;border-bottom:1px solid #edf0f4}.ci-header h2{font-size:19px;text-align:center;margin:0}.cd-invoice [data-invoice-close]{border:0;background:transparent;font-size:30px;color:#25394d;cursor:pointer}.ci-content{overflow:auto;min-height:0;padding:18px 18px 22px;overscroll-behavior:contain}.ci-brand{display:flex;justify-content:space-between;gap:10px;margin:0 2px 16px;font-weight:750;font-size:14px}.ci-brand span{font-size:12px;font-weight:400;color:#768390}.ci-section{background:#fff;padding:18px;border-radius:14px;margin:0 0 12px}.ci-section h3{font-size:17px;margin:0 0 12px}.ci-section summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;font-size:16px;font-weight:700;list-style:none}.ci-section summary::-webkit-details-marker{display:none}.ci-section summary small{display:block;margin-top:6px;font-size:13px;line-height:1.5;font-weight:400;color:#73808d}.ci-detail-label{font-size:12px;color:#65788b;white-space:nowrap}.ci-detail-label:after{content:'⌄';padding-left:6px}.ci-section[open] .ci-detail-label:after{content:'⌃'}.ci-item-list{border-top:1px solid #edf0f4;margin-top:15px;padding-top:6px}.ci-row{display:flex;justify-content:space-between;gap:14px;padding:8px 0;line-height:1.6;font-size:14px}.ci-row span{overflow-wrap:anywhere}.ci-row b,.ci-row strong{flex-shrink:0;font-weight:600}.ci-due{border-top:1px solid #edf0f4;margin-top:12px;padding-top:18px;font-size:19px}.ci-due strong:last-child{color:#155b92;font-weight:800}.ci-coupon-row{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:#fff;border-radius:14px;margin:0 0 12px;padding:18px;font:inherit;color:#25394d;cursor:pointer}.ci-coupon-row>span:first-child{font-size:16px;font-weight:700}.ci-muted{font-size:12px;color:#788592}.ci-muted b{color:#2d648e;margin-left:8px;font-weight:600}.ci-methods fieldset{border:0;padding:14px 0 0;margin:0}.ci-method{display:flex;gap:10px;align-items:center;padding:13px 0;font-size:15px;cursor:pointer}.ci-method input,.ci-consent input{accent-color:#2675ad;width:19px;height:19px;flex-shrink:0;margin:0}.ci-register{display:flex;justify-content:space-between;gap:12px;width:100%;text-align:left;border:1px solid #d5e2ed;background:#f4f8fc;padding:14px;border-radius:9px;color:#2670a1;font:inherit;font-size:14px;cursor:pointer}.ci-manage{border:0;background:transparent;color:#53738f;padding:4px 0;font:inherit;font-size:12px;text-decoration:underline;cursor:pointer}.ci-consent{display:flex;gap:10px;align-items:flex-start;margin:19px 3px 12px;line-height:1.5;font-size:13px;cursor:pointer}.ci-terms{border:0;background:transparent;padding:0 3px;color:#65788b;font:inherit;font-size:12px;cursor:pointer;text-decoration:underline}.ci-info{font-size:12px;line-height:1.7;color:#788592;margin:10px 3px}.ci-payment-status{font-size:12px;line-height:1.6;color:#64788c;background:#eaf0f7;padding:11px 13px;border-radius:9px}.ci-alert{font-size:13px;line-height:1.7;background:#fff2e6;border-radius:10px;padding:14px;color:#8c4e1d}.ci-bottom{flex-shrink:0;background:#fff;border-top:1px solid #e6edf3;padding:13px 18px max(13px,env(safe-area-inset-bottom))}.ci-pay{width:100%;padding:16px;border:0;border-radius:12px;background:#1f659d;color:#fff;font:inherit;font-size:17px;font-weight:750}.ci-pay:disabled{background:#dce5ee;color:#697f92;cursor:not-allowed}.ci-loading{padding:24px;overflow:auto}.ci-loading>[data-invoice-close]{float:right}.ci-coupon-dialog{box-sizing:border-box;width:min(430px,calc(100vw - 40px));border:0;border-radius:18px;padding:22px;color:#25394d;background:#fff;font-family:inherit}.ci-coupon-dialog header{display:flex;justify-content:space-between;align-items:center}.ci-coupon-dialog h2{font-size:19px;margin:0}.ci-coupon-dialog header button{font-size:26px;border:0;background:transparent;color:#64788c;cursor:pointer}.ci-coupon-empty{text-align:center;padding:30px 0;color:#64788c}.ci-coupon-empty small{font-size:12px}.ci-coupon-done{width:100%;border:0;border-radius:10px;background:#eaf2fa;color:#236592;font:inherit;padding:13px;cursor:pointer}.ci-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.ci-manager-tabs{display:flex;gap:10px;margin:20px 0}.ci-manager-tabs button{flex:1;border:1px solid #d6e1ed;border-radius:10px;background:#fff;color:#526c86;padding:13px;font:inherit;cursor:pointer}.ci-manager-tabs button[aria-pressed=true]{border-color:#357daf;background:#edf5fc;color:#236592;font-weight:700}.ci-manager-empty{padding:24px;background:#f5f8fb;border-radius:12px;text-align:center;color:#61778d}.ci-manager-empty button{width:100%;border:0;border-radius:10px;padding:13px;font:inherit;color:#7c8d9d;background:#e4ebf2}.ci-manager-return{border:0;border-radius:10px;background:#246b9f;color:#fff;font:inherit;padding:13px 18px;margin-top:20px;cursor:pointer}.ci-manager-return[hidden]{display:none}.ph-flow{margin:12px 0;padding:14px;background:#f1f6fc;border-radius:10px;color:#244568}.ph-flow p{line-height:1.6}.ph-flow button{border:1px solid #527fae;background:#fff;color:#285b88;padding:11px 15px;border-radius:8px;font:inherit}@media(max-width:560px){.cd-invoice{width:100vw;height:100dvh;max-height:100dvh;max-width:100vw;margin:0;border-radius:0}.ci-content{padding:16px}.ci-coupon-row{flex-wrap:wrap}.ci-bottom{padding-left:16px;padding-right:16px}}

/* Prevent generic site form/card rules from boxing each amount row. */
.cd-invoice .ci-row{border:0;border-radius:0;box-shadow:none;background:transparent;min-height:0;margin:0;padding:8px 0}.cd-invoice .ci-row.ci-due{border-top:1px solid #edf0f4;margin-top:12px;padding-top:18px}.cd-invoice .ci-methods fieldset{background:transparent;border:0;border-radius:0;box-shadow:none}.cd-invoice .ci-method{border:0;border-radius:0;background:transparent;box-shadow:none}.cd-invoice .ci-pay:not(:disabled){background:#1f659d;color:#fff;cursor:pointer}

.ci-service-plan p{line-height:1.65}.ci-service-plan .ci-consent{margin:20px 0 10px}.ci-service-plan h3{margin-top:0}

/* Approved store checkout: original amount, selected method, discount breakdown. */
.cd-invoice.ci-store{color:#132354;background:#eff8ff}
.ci-store .ci-header{padding:15px 16px;border-color:#e5eff9}.ci-store .ci-header h2{font-size:21px;color:#132354;font-weight:800}.ci-store [data-invoice-close]{color:#132354;font-size:34px}
.ci-store .ci-content{padding:16px 16px 22px}.ci-store .ci-section{padding:19px 18px;border:1px solid #e7f0fa;border-radius:16px;margin:0 0 14px;box-shadow:0 2px 7px #1a609605}.ci-store .ci-section h3{font-size:19px;font-weight:800;color:#132354}
.ci-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.ci-section-heading h3{margin:0!important}.ci-section-heading>span{font-size:13px;color:#6d7eaa;white-space:nowrap}
.ci-item-overview{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 0 14px}.ci-item-overview>strong{font-size:20px;font-weight:800;line-height:1.5;overflow-wrap:anywhere}.ci-item-overview>div{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex-shrink:0}.ci-item-overview small{font-size:12px;color:#6d7eaa}.ci-item-overview b{font-size:23px;font-weight:800;white-space:nowrap}
.ci-store-details{border-top:1px solid #e8eff9;padding-top:12px}.ci-store-details>summary{font-size:13px!important;justify-content:flex-end!important;gap:7px!important;color:#0873fa}.ci-store-details>.ci-item-list{border:0;margin-top:6px;padding-top:0}.ci-detail-item{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #eef3fa;font-size:14px}.ci-detail-item:last-child{border:0}.ci-detail-item>div{display:flex;flex-direction:column;gap:5px}.ci-detail-item>div:last-child{align-items:flex-end;flex-shrink:0}.ci-detail-item small{font-size:12px;color:#1973d2}.ci-detail-item del{font-size:12px;color:#8793ac}
.ci-store .ci-store-coupons{width:100%;max-width:100%;padding:0!important;overflow:hidden;border:1px solid #e7f0fa;border-radius:16px;box-shadow:0 2px 7px #1a609605;margin:0 0 14px}.ci-store-coupon-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:66px;border:0;border-radius:0;padding:18px 18px;background:#fff;color:#25394d;font:inherit;font-size:18px;font-weight:750;cursor:pointer}.ci-coupon-label{display:flex;align-items:center;gap:12px;white-space:nowrap}.ci-coupon-icon{display:block;width:23px;height:23px;flex:none;color:#0875ff}.ci-coupon-action{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;white-space:nowrap;font-size:13px;font-weight:400;color:#87949f}.ci-coupon-action .ci-coupon-selected{color:#0875ff;font-weight:600}.ci-coupon-chevron{display:block;width:18px;height:18px;flex:none;color:#52616f}.ci-store-coupon-button:focus-visible{outline:2px solid #0875ff;outline-offset:-3px}@media(max-width:360px){.ci-store-coupon-button{padding-inline:14px}}
.ci-store .ci-methods summary{font-size:18px;font-weight:800}.ci-store .ci-methods summary small{font-size:14px;color:#506283;margin-top:8px}.ci-store .ci-methods .ci-detail-label{color:#0873fa;font-size:13px}.ci-store .ci-method{font-size:15px;padding:12px 0}.ci-store .ci-method input,.ci-store .ci-consent input{accent-color:#0875ff}
.ci-store .ci-store-total h3{margin:0 0 16px}.ci-store .ci-row{font-size:14px;padding:7px 0;line-height:1.6}.ci-store .ci-row b{font-weight:600}.ci-store .ci-discount-total b,.ci-store .ci-discount-detail b{color:#0873fa}.ci-store .ci-discount-detail{font-size:12px;padding:3px 0 7px;color:#6b7ea7}.ci-indent{padding-left:17px;position:relative}.ci-indent:before{content:'└';position:absolute;left:0;color:#9aaac6}.ci-store .ci-row.ci-due{padding-top:17px;margin-top:14px;font-size:18px;align-items:center}.ci-store .ci-due strong:last-child{font-size:26px;font-weight:800;color:#0873fa}.ci-store .ci-store-total .ci-info{margin:12px 0 0;font-size:12px}.ci-store .ci-store-total .ci-alert{padding:11px 12px;font-size:12px}.ci-preview-tag{font-size:10px;color:#8c4e1d;background:#fff2e6;padding:3px 5px;border-radius:4px;font-weight:500}
.ci-store .ci-consent{font-size:13px;line-height:1.6;gap:10px;margin:17px 2px 10px}.ci-store .ci-consent input{width:21px;height:21px;margin-top:1px}.ci-store .ci-terms{margin-left:31px;color:#6c7fa5;font-size:12px}.ci-store-schedule{font-size:12px;color:#7586a6;line-height:1.7;margin:16px 3px 12px}.ci-store .ci-payment-status{margin:0;background:#e0efff;color:#176fcd;font-size:12px;line-height:1.7;border-radius:12px;padding:13px 15px}.ci-store .ci-bottom{background:#eff8ff;border:0;padding:12px 16px max(15px,env(safe-area-inset-bottom))}.ci-store .ci-pay{font-size:17px;border-radius:12px;padding:17px}.ci-store .ci-pay:not(:disabled){background:#0875ff;color:#fff}.ci-store .ci-pay:disabled{background:#dce7f5;color:#7185a2}
.ci-wallet-coupon{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid #e5edf7;font-size:14px}.ci-wallet-coupon>div{display:flex;flex-direction:column;gap:7px}.ci-wallet-coupon small{color:#7787a3;font-size:12px}.ci-wallet-coupon>b{color:#0873fa;white-space:nowrap}.ci-coupon-dialog .ci-info{font-size:12px;line-height:1.7;margin:17px 0}
@media(max-width:360px){.ci-store .ci-content{padding:12px}.ci-store .ci-section{padding:16px 14px}.ci-item-overview>strong{font-size:18px}.ci-item-overview b{font-size:21px}.ci-store .ci-due strong:last-child{font-size:23px}.ci-store .ci-row.ci-due{font-size:16px}.ci-store .ci-section h3{font-size:18px}}

.ci-coupon-dialog .ci-wallet-coupon{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:12px;align-items:center;margin:0;padding:17px 0;border:0;border-bottom:1px solid #e5edf7;border-radius:0;background:transparent;box-shadow:none;cursor:pointer}.ci-coupon-dialog .ci-wallet-coupon>input{width:20px;height:20px;margin:0;accent-color:#0875ff}.ci-coupon-dialog .ci-wallet-coupon>span{display:flex;flex-direction:column;gap:7px;overflow-wrap:anywhere}.ci-coupon-dialog .ci-wallet-coupon>b{font-size:14px;color:#0873fa;white-space:nowrap}.ci-coupon-dialog .ci-wallet-disabled{opacity:.5;cursor:default}.ci-store .ci-payment-status:empty{display:none}.ci-store .ci-test-note{margin-top:12px}
.ci-coupon-dialog{max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain}.ci-coupon-dialog [data-coupon-apply]{position:sticky;bottom:0;background:#0875ff;color:#fff;box-shadow:0 -8px 12px #fff}

.ci-store .ci-store-total .ci-method-change-notice{background:#eef6ff;color:#245b85;border-radius:9px;padding:11px 12px;font-weight:600}.ci-store [data-method-policy][hidden]{display:none}

/* Store receipt method grid. Native radios retain keyboard selection semantics. */
.ci-store .ci-payment-grid h3{margin-bottom:15px}.ci-store .ci-payment-grid fieldset{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;margin:0;min-width:0}.ci-store .ci-payment-grid .ci-method-option{display:block;position:relative;min-width:0;margin:0;padding:0;cursor:pointer}.ci-store .ci-payment-grid .ci-method-option>input{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}.ci-store .ci-method-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:98px;padding:20px 5px 12px;box-sizing:border-box;border:1px solid #e0e6ef;border-radius:11px;background:#fff;color:#27334c;transition:border-color .12s,background-color .12s;min-width:0}.ci-store .ci-method-mark{display:flex;align-items:center;justify-content:center;width:100%;height:31px;max-width:78px;color:#495469}.ci-store .ci-method-mark svg{width:34px;height:29px;flex:none}.ci-store .ci-method-mark img{display:block;width:100%;height:30px;object-fit:contain;max-width:76px}.ci-store .ci-method-label{font-size:clamp(11px,3.1vw,13px);font-weight:650;line-height:1.5;text-align:center;word-break:keep-all;overflow-wrap:anywhere;letter-spacing:-.3px}.ci-store .ci-method-check{position:absolute;right:6px;top:6px;display:flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:#0873fa;color:#fff;font-size:12px;font-weight:800;opacity:0;line-height:1}.ci-store .ci-method-option>input:checked+.ci-method-tile{border-color:#0873fa;background:#f0f7ff;box-shadow:inset 0 0 0 .5px #0873fa;color:#0873fa}.ci-store .ci-method-option>input:checked+.ci-method-tile .ci-method-check{opacity:1}.ci-store .ci-method-option>input:checked+.ci-method-tile .ci-method-mark{color:#0873fa}.ci-store .ci-method-option>input:focus-visible+.ci-method-tile{outline:3px solid #92c2ff;outline-offset:3px}.ci-store .ci-method-option>input:disabled+.ci-method-tile{opacity:.5;cursor:not-allowed}.ci-store .ci-payment-grid>.ci-info{margin:12px 0 0;line-height:1.65;font-size:12px}@media(prefers-reduced-motion:reduce){.ci-store .ci-method-tile{transition:none}}

/* Coupon remainder acknowledgment stays outside the rerendered amount rows. */
.ci-store .ci-coupon-excess-note{margin:16px 0;padding:12px 14px;border-radius:10px;background:#fff7e8;color:#775019;font-size:13px;line-height:1.7}.ci-store .ci-coupon-excess-note strong{font-weight:700}.ci-store .ci-coupon-excess-consent{padding:13px 12px;border:1px solid #eed8af;border-radius:10px;background:#fffbf3}.ci-store .ci-coupon-excess-consent[hidden]{display:none}

/* One-line wallet controls. Input stays at the right edge at mobile widths. */
.cd-invoice .ci-wallet-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(78px,100px);align-items:start;gap:6px;padding:12px 0;border-top:1px solid #edf0f4}
.cd-invoice .ci-wallet-label{display:flex;align-items:center;min-height:36px;min-width:0;white-space:nowrap}
.cd-invoice .ci-wallet-label label{font-size:13px;font-weight:600;flex-shrink:0;cursor:text}
.cd-invoice .ci-wallet-field{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:5px}
.cd-invoice .ci-wallet-balance{display:block;font-size:10px;line-height:1.4;text-align:right;color:#7586a6;white-space:nowrap}
.cd-invoice .ci-wallet-row>button{padding:9px 7px;border:1px solid #d7e2f2;border-radius:8px;background:#eff5ff;color:#165ec2;font:inherit;font-size:11px;white-space:nowrap;cursor:pointer}
.cd-invoice .ci-wallet-input{display:flex;align-items:center;min-width:0;width:100%;border:1px solid #d7dfe9;border-radius:8px;background:#fff;box-sizing:border-box}
.cd-invoice .ci-wallet-input input{flex:1;box-sizing:border-box;min-width:0;width:100%;padding:8px 5px;border:0;border-radius:8px;text-align:right;font:inherit;font-size:14px;color:#24394d;background:transparent;outline:none}
.cd-invoice .ci-wallet-input>span{padding-right:7px;font-size:12px;color:#607184}
.cd-invoice .ci-wallet-input:focus-within{outline:2px solid #1263df;outline-offset:2px}
.cd-invoice .ci-wallet-row :disabled{opacity:.45;cursor:default}
.cd-invoice .ci-wallet-row>button:focus-visible{outline:2px solid #1263df;outline-offset:2px}
.cd-invoice .ci-wallet-note{margin:5px 0 15px;font-size:12px}
.cd-invoice .ci-wallet-retry{padding:10px 12px;border:1px solid #d7e2f2;border-radius:9px;background:#eff5ff;color:#165ec2;font:inherit;font-size:12px;cursor:pointer}
.cd-invoice .ci-wallet-retry:focus-visible{outline:2px solid #1263df;outline-offset:2px}
.cd-invoice .ci-wallet-retry[hidden]{display:none}

/* Header and contents share one scrolling surface; payment footer stays outside. */
.cd-invoice .ci-scroll{flex:1;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;overscroll-behavior:contain}
.cd-invoice .ci-scroll>.ci-header{position:static;top:auto}
.cd-invoice .ci-scroll>.ci-content{overflow:visible;min-height:auto}

/* Checkout uses browser/device Back; the heading scrolls with the invoice. */
.cd-invoice .ci-header{grid-template-columns:minmax(0,1fr)}

/* Use the same cached brand artwork as the mobile homepage. */
.cd-invoice .ci-header{height:auto;min-height:72px;justify-items:start;padding:10px 16px}
.cd-invoice .ci-header .ci-checkout-logo{display:block;width:144px;max-width:100%;height:auto;object-fit:contain}

/* Brand navigation matches the homepage logo action. */
.cd-invoice .ci-header .ci-checkout-home{display:block;width:fit-content;max-width:100%;padding:0;border:0;background:transparent;text-decoration:none;line-height:0}
.cd-invoice .ci-header .ci-checkout-home:focus-visible{outline:2px solid #0875ff;outline-offset:4px;border-radius:3px}

/* The invoice owns scrolling while open; leave the underlying page position intact. */
html.cd-checkout-open,html.cd-checkout-open body{overflow:hidden!important;overscroll-behavior:none}

/* Match the shared mobile header logo sizing and page inset. */
@media(max-width:760px){.cd-invoice .ci-header{min-height:76px;padding-inline:12px}.cd-invoice .ci-header .ci-checkout-home{max-width:32vw}.cd-invoice .ci-header .ci-checkout-logo{width:clamp(93px,31vw,140px);max-width:100%}}
.ci-store-coupon-button:disabled{opacity:.55;cursor:default}
.ci-method input:disabled+.ci-method-tile{opacity:.55;cursor:default}
