/* All values inherit the shared schema. Per-action styles retain precedence. */
.sapo.cpo-checkout .cpo-checkout-block{min-width:0;box-sizing:border-box}
.sapo.cpo-checkout .cpo-checkout-block .sapo-field-label{font-family:var(--cpo-checkout-label-font,inherit);font-size:var(--cpo-checkout-label-size,inherit);font-weight:var(--cpo-checkout-label-weight,600);line-height:var(--cpo-checkout-label-line-height,1.4);color:var(--cpo-checkout-label-color,var(--sapo-primary))}
.sapo.cpo-checkout .cpo-checkout-block :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-family:var(--cpo-checkout-input-font,inherit);font-size:var(--cpo-checkout-input-size,inherit);font-weight:var(--cpo-checkout-input-weight,400);line-height:var(--cpo-checkout-input-line-height,1.4);color:var(--cpo-checkout-input-color,var(--sapo-text));background:var(--cpo-checkout-input-background,var(--sapo-field));border-color:var(--cpo-checkout-input-border,var(--sapo-border));border-radius:var(--cpo-checkout-input-radius,6px);min-height:var(--cpo-checkout-input-height,40px);box-sizing:border-box;max-width:100%}
.sapo.cpo-checkout .cpo-email-field{min-width:0}.sapo .cpo-email-field small{display:block;margin-top:4px;line-height:1.35}
.sapo.cpo-checkout .cpo-payment-group>h4{font-family:var(--cpo-checkout-destination-font,inherit);font-size:var(--cpo-checkout-destination-size,18px);font-weight:var(--cpo-checkout-destination-weight,600);line-height:var(--cpo-checkout-destination-line-height,1.4);color:var(--cpo-checkout-destination-color,var(--sapo-primary));margin:8px 0;overflow-wrap:anywhere}
.sapo.cpo-checkout .cpo-payment-details{font-family:var(--cpo-checkout-bank-font,inherit);font-size:var(--cpo-checkout-bank-size,inherit);font-weight:var(--cpo-checkout-bank-weight,400);line-height:var(--cpo-checkout-bank-line-height,1.45);color:var(--cpo-checkout-bank-color,var(--sapo-text))}
.sapo.cpo-checkout .cpo-totals strong{font-family:var(--cpo-checkout-amount-font,inherit);font-size:var(--cpo-checkout-amount-size,inherit);font-weight:var(--cpo-checkout-amount-weight,700);line-height:var(--cpo-checkout-amount-line-height,1.4);color:var(--cpo-checkout-amount-color,inherit);white-space:nowrap}
.sapo .cpo-payment-details{min-width:0;margin:12px 0 0}.sapo .cpo-payment-details .cpo-qr{display:block;max-width:100%;height:auto;max-height:300px;object-fit:contain;margin:12px auto}.sapo .cpo-payment-details>small{display:block;margin-top:8px;line-height:1.45}
.sapo .cpo-checkout-actions{display:grid;grid-template-columns:repeat(var(--cpo-checkout-actions-columns,2),minmax(0,1fr));gap:var(--cpo-checkout-actions-gap,8px);width:100%;max-width:var(--cpo-checkout-actions-max-width,640px);justify-self:var(--cpo-checkout-actions-align,center);align-items:stretch;margin-block:8px}
.sapo .cpo-checkout-actions:has(>:only-child){grid-template-columns:minmax(0,1fr)}
.sapo .cpo-checkout-actions>.sapo-button{min-width:0;width:100%;max-width:100%;height:auto;min-height:var(--cpo-checkout-actions-min-height,42px);white-space:normal;overflow-wrap:anywhere;text-align:center;justify-content:center;align-self:stretch;margin:0;box-sizing:border-box}
.sapo .cpo-checkout-actions>[data-cpo-action=qr_download]{order:var(--cpo-checkout-actions-qr-download-order,0)}
.sapo .cpo-checkout-actions>[data-cpo-action=qr_copy]{order:var(--cpo-checkout-actions-qr-copy-order,1)}
.sapo .cpo-checkout-actions>[data-cpo-action=update]{order:var(--cpo-checkout-actions-update-order,2)}
.sapo .cpo-checkout-actions>[data-cpo-action=confirm]{order:var(--cpo-checkout-actions-confirm-order,3)}
.sapo .cpo-payment-details .cpo-bank-row{display:grid;grid-template-columns:minmax(55px,var(--cpo-order-bank-label-width,90px)) minmax(0,1fr);gap:var(--cpo-order-bank-gap,10px);padding:4px 0;align-items:start}.sapo .cpo-payment-details .cpo-bank-row strong{text-align:left;overflow-wrap:anywhere}
.sapo .cpo-order-payment{display:grid;grid-template-columns:minmax(0,var(--cpo-order-payment-left,50%)) minmax(0,1fr);gap:var(--cpo-order-payment-gap,20px);margin:16px 0;padding:var(--cpo-order-payment-padding,14px);border:1px solid var(--cpo-order-payment-border,var(--sapo-border,#D9D9D9));border-radius:var(--cpo-order-payment-radius,8px);background:var(--cpo-order-payment-background,var(--sapo-card,#fff));font-family:var(--cpo-order-payment-font,inherit);font-size:var(--cpo-order-payment-size,inherit);line-height:var(--cpo-order-payment-line-height,1.4);color:var(--cpo-order-payment-color,inherit);box-sizing:border-box}
.sapo .cpo-order-payment>h3{grid-column:1/-1;margin:0;font-size:var(--cpo-order-payment-title-size,20px);color:var(--cpo-order-payment-title-color,var(--sapo-primary))}
.sapo .cpo-order-payment-right .cpo-order-destination{order:2}.sapo .cpo-order-payment-right .cpo-order-manage{order:1}.sapo .cpo-order-payment>h3{order:0}.sapo .cpo-order-destination,.sapo .cpo-order-manage{min-width:0}
.sapo .cpo-order-actions{display:grid;grid-template-columns:repeat(var(--cpo-order-actions-columns,2),minmax(0,1fr));gap:var(--cpo-order-actions-gap,8px);max-width:var(--cpo-order-actions-max-width,640px);justify-self:var(--cpo-order-actions-align,center);align-items:stretch}
.sapo .cpo-order-actions>form{display:contents}.sapo .cpo-order-actions>form>input[type=hidden]{display:none}.sapo .cpo-order-actions>form>.sapo-field{grid-column:1/-1;order:-1;min-width:0;margin:0 0 8px}
.sapo .cpo-order-actions>form>.sapo-button{width:100%;min-width:0;max-width:100%;height:auto;min-height:var(--cpo-order-actions-min-height,42px);white-space:normal;text-align:center;justify-content:center;align-self:stretch;margin:0;box-sizing:border-box}
.sapo .cpo-order-actions [data-cpo-action=proof]{order:var(--cpo-order-actions-proof-order,0)}.sapo .cpo-order-actions [data-cpo-action=cancel]{order:var(--cpo-order-actions-cancel-order,1)}
.sapo .cpo-order-manage input[type=file]{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.sapo .cpo-order-attachments{margin-top:14px;overflow-wrap:anywhere}
.sapo.cpo-thankyou{max-width:var(--cpo-thankyou-width,760px);margin:28px auto;padding:var(--cpo-thankyou-padding,28px);border-radius:var(--cpo-thankyou-radius,16px);background:var(--cpo-thankyou-background,#fff);color:var(--cpo-thankyou-color,#575756);font-family:var(--cpo-thankyou-font,inherit);font-size:var(--cpo-thankyou-size,16px);text-align:var(--cpo-thankyou-align,center);box-shadow:0 8px 28px #1c345b12;box-sizing:border-box}
.sapo.cpo-thankyou h1{color:var(--cpo-thankyou-accent,#1C345B);font-size:var(--cpo-thankyou-title-size,28px);line-height:1.25;margin:14px 0}.sapo .cpo-thankyou-mark{font-size:30px;line-height:1.2;color:var(--cpo-thankyou-accent,#1C345B)}.sapo .cpo-thankyou-folio span,.sapo .cpo-thankyou-folio strong{display:block}.sapo .cpo-thankyou-folio strong{font-size:1.25em;color:var(--cpo-thankyou-accent,#1C345B)}.sapo .cpo-thankyou-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:22px}.sapo .cpo-thankyou-actions>.sapo-button{min-width:0;white-space:normal;text-align:center}
@media(max-width:1024px){.sapo .cpo-checkout-actions{grid-template-columns:repeat(var(--cpo-checkout-actions-columns-tablet,2),minmax(0,1fr))}.sapo .cpo-order-actions{grid-template-columns:repeat(var(--cpo-order-actions-columns-tablet,2),minmax(0,1fr))}}
@media(max-width:767px){.sapo .cpo-order-payment{grid-template-columns:minmax(0,1fr)}.sapo .cpo-order-payment-right .cpo-order-destination,.sapo .cpo-order-payment-right .cpo-order-manage{order:initial}.sapo .cpo-checkout-actions{grid-template-columns:repeat(var(--cpo-checkout-actions-columns-mobile,1),minmax(0,1fr))}.sapo .cpo-order-actions{grid-template-columns:repeat(var(--cpo-order-actions-columns-mobile,1),minmax(0,1fr))}.sapo.cpo-thankyou{margin:12px auto}.sapo .cpo-thankyou-actions{display:grid;grid-template-columns:1fr}}

.sapo .cpo-checkout-actions{margin-inline:var(--cpo-checkout-actions-margin-start,auto) var(--cpo-checkout-actions-margin-end,auto)}.sapo .cpo-order-actions{margin-inline:var(--cpo-order-actions-margin-start,auto) var(--cpo-order-actions-margin-end,auto)}

.sapo .sapo-button:not([data-cpo-action]){border-radius:var(--cpo-button-all-radius,6px)}
.sapo input[type=file]::file-selector-button{border-radius:var(--cpo-act-upload-radius,var(--cpo-button-all-radius,6px))}

/* 1.6.10: payment destination / action card / independent upload card. */
.sapo .cpo-order-payment{grid-template-columns:minmax(0,calc(var(--cpo-order-payment-left,50%) - var(--cpo-order-payment-gap,20px)/2)) minmax(0,1fr);align-items:start}
.sapo .cpo-order-payment-right{grid-template-columns:minmax(0,1fr) minmax(0,calc(var(--cpo-order-payment-left,50%) - var(--cpo-order-payment-gap,20px)/2))}
.sapo .cpo-order-manage{display:flex;flex-direction:column;gap:var(--cpo-order-payment-gap,20px)}
.sapo .cpo-order-tools{order:0}.sapo .cpo-order-upload{order:1}.sapo .cpo-order-attachments{order:2}.sapo .cpo-upload-before>.cpo-order-upload{order:-1}
.sapo .cpo-order-frame{box-sizing:border-box;min-width:0;margin:0}
.sapo .cpo-order-destination>.cpo-payment-details{margin:0;padding:0}
.sapo .cpo-order-upload>form{margin:0}.sapo .cpo-order-upload .sapo-proof-field{margin:0}
.sapo .cpo-order-tools .cpo-order-actions{width:100%;margin-block:0;grid-template-columns:repeat(var(--cpo-order-actions-columns,1),minmax(0,1fr))}
.sapo .cpo-order-actions>.sapo-button,.sapo .cpo-order-actions>form>.sapo-button{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;max-width:100%;height:auto;min-height:var(--cpo-order-actions-min-height,42px);white-space:normal;text-align:center;align-self:stretch;margin:0;box-sizing:border-box}
.sapo .cpo-order-actions [data-cpo-action=document]{order:var(--cpo-order-actions-document-order,0)}
.sapo .cpo-order-notice p{margin:0 0 7px}.sapo .cpo-order-notice p:last-child{margin-bottom:0}
.sapo .cpo-order-notice [data-cpo-deadline]{display:block}
.sapo .cpo-order-destination{padding:var(--cpo-order-destination-padding,14px);border:var(--cpo-order-destination-border-width,1px) solid var(--cpo-order-destination-border-color,var(--cpo-order-payment-border,var(--sapo-border,#D9D9D9)));border-radius:var(--cpo-order-destination-radius,6px);background:var(--cpo-order-destination-background,transparent);font-family:var(--cpo-order-destination-font,inherit);font-size:var(--cpo-order-destination-size,inherit);line-height:var(--cpo-order-destination-line-height,145%);color:var(--cpo-order-destination-color,inherit)}
.sapo .cpo-order-destination>:is(h3,h4){font-size:var(--cpo-order-destination-title-size,16px);color:var(--cpo-order-destination-title-color,var(--sapo-primary,#1C345B));line-height:1.35;margin:0 0 12px}
.sapo .cpo-order-tools{padding:var(--cpo-order-tools-padding,14px);border:var(--cpo-order-tools-border-width,1px) solid var(--cpo-order-tools-border-color,var(--cpo-order-payment-border,var(--sapo-border,#D9D9D9)));border-radius:var(--cpo-order-tools-radius,6px);background:var(--cpo-order-tools-background,transparent);font-family:var(--cpo-order-tools-font,inherit);font-size:var(--cpo-order-tools-size,inherit);line-height:var(--cpo-order-tools-line-height,145%);color:var(--cpo-order-tools-color,inherit)}
.sapo .cpo-order-tools>:is(h3,h4){font-size:var(--cpo-order-tools-title-size,16px);color:var(--cpo-order-tools-title-color,var(--sapo-primary,#1C345B));line-height:1.35;margin:0 0 12px}
.sapo .cpo-order-upload{padding:var(--cpo-order-upload-padding,14px);border:var(--cpo-order-upload-border-width,1px) solid var(--cpo-order-upload-border-color,var(--cpo-order-payment-border,var(--sapo-border,#D9D9D9)));border-radius:var(--cpo-order-upload-radius,6px);background:var(--cpo-order-upload-background,transparent);font-family:var(--cpo-order-upload-font,inherit);font-size:var(--cpo-order-upload-size,inherit);line-height:var(--cpo-order-upload-line-height,145%);color:var(--cpo-order-upload-color,inherit)}
.sapo .cpo-order-upload>:is(h3,h4){font-size:var(--cpo-order-upload-title-size,16px);color:var(--cpo-order-upload-title-color,var(--sapo-primary,#1C345B));line-height:1.35;margin:0 0 12px}
.sapo .cpo-order-notice{padding:var(--cpo-order-status-notice-padding,14px);border:var(--cpo-order-status-notice-border-width,1px) solid var(--cpo-order-status-notice-border-color,var(--cpo-order-payment-border,var(--sapo-border,#D9D9D9)));border-radius:var(--cpo-order-status-notice-radius,6px);background:var(--cpo-order-status-notice-background,var(--cpo-ui-notice-bg,#F0F4F9));font-family:var(--cpo-order-status-notice-font,inherit);font-size:var(--cpo-order-status-notice-size,inherit);line-height:var(--cpo-order-status-notice-line-height,145%);color:var(--cpo-order-status-notice-color,inherit)}
.sapo .cpo-order-notice>:is(h3,h4){font-size:var(--cpo-order-status-notice-title-size,16px);color:var(--cpo-order-status-notice-title-color,var(--sapo-primary,#1C345B));line-height:1.35;margin:0 0 12px}

.sapo.cpo-thankyou{border:var(--cpo-thankyou-border-width,0) solid var(--cpo-thankyou-border-color,var(--sapo-border,#D9D9D9));line-height:var(--cpo-thankyou-line-height,150%)}
.sapo .cpo-thankyou-content{min-width:0;flex:1}
.sapo .cpo-thankyou-mark{display:flex;align-items:center;justify-content:center;box-sizing:content-box;flex:none;width:var(--cpo-thankyou-mark-width,64px);height:var(--cpo-thankyou-mark-height,64px);max-width:100%;padding:var(--cpo-thankyou-mark-padding,0);margin:0 auto var(--cpo-thankyou-mark-gap,14px);color:var(--cpo-thankyou-mark-color,var(--cpo-thankyou-accent,#1C345B));background:var(--cpo-thankyou-mark-background,transparent);border:var(--cpo-thankyou-mark-border-width,0) solid var(--cpo-thankyou-mark-border-color,var(--sapo-border,#D9D9D9));border-radius:var(--cpo-thankyou-mark-radius,0);overflow:hidden}
.sapo .cpo-thankyou-mark>svg,.sapo .cpo-thankyou-mark>img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;margin:0}
.sapo.cpo-thankyou-mark-left,.sapo.cpo-thankyou-mark-right{display:flex;gap:var(--cpo-thankyou-mark-gap,14px);align-items:center}
.sapo.cpo-thankyou-mark-left>.cpo-thankyou-mark,.sapo.cpo-thankyou-mark-right>.cpo-thankyou-mark{margin:0}
.sapo.cpo-thankyou-mark-right>.cpo-thankyou-mark{order:2}
.sapo .cpo-thankyou-actions{display:grid;grid-template-columns:repeat(var(--cpo-thankyou-actions-columns,2),minmax(0,1fr));gap:var(--cpo-thankyou-actions-gap,10px);margin-top:22px;align-items:stretch}
.sapo .cpo-thankyou-actions:has(>:only-child){grid-template-columns:1fr}
.sapo .cpo-thankyou-actions>.sapo-button{display:flex;align-items:center;justify-content:center;width:100%;height:auto;box-sizing:border-box;margin:0}
.sapo .cpo-thankyou-actions>[data-cpo-action=thanks_order]{order:var(--cpo-thankyou-actions-thanks-order-order,0)}
.sapo .cpo-thankyou-actions>[data-cpo-action=thanks_catalog]{order:var(--cpo-thankyou-actions-thanks-catalog-order,1)}
.sapo .cpo-thankyou-mail:empty{display:none}
.sapo.cpo-thankyou .cpo-thankyou-title{font-family:var(--cpo-thankyou-title-font,inherit);font-size:var(--cpo-thankyou-title-size,28px);font-weight:var(--cpo-thankyou-title-weight,inherit);line-height:var(--cpo-thankyou-title-line-height,inherit);color:var(--cpo-thankyou-title-color,var(--cpo-thankyou-accent,#1C345B));margin-block:var(--cpo-thankyou-title-margin,10px)}
.sapo.cpo-thankyou .cpo-thankyou-message{font-family:var(--cpo-thankyou-message-font,inherit);font-size:var(--cpo-thankyou-message-size,inherit);font-weight:var(--cpo-thankyou-message-weight,inherit);line-height:var(--cpo-thankyou-message-line-height,inherit);color:var(--cpo-thankyou-message-color,inherit);margin-block:var(--cpo-thankyou-message-margin,10px)}
.sapo.cpo-thankyou .cpo-thankyou-folio{font-family:var(--cpo-thankyou-folio-font,inherit);font-size:var(--cpo-thankyou-folio-size,inherit);font-weight:var(--cpo-thankyou-folio-weight,inherit);line-height:var(--cpo-thankyou-folio-line-height,inherit);color:var(--cpo-thankyou-folio-color,var(--cpo-thankyou-accent,#1C345B));margin-block:var(--cpo-thankyou-folio-margin,10px)}
.sapo.cpo-thankyou .cpo-thankyou-status{font-family:var(--cpo-thankyou-status-font,inherit);font-size:var(--cpo-thankyou-status-size,inherit);font-weight:var(--cpo-thankyou-status-weight,inherit);line-height:var(--cpo-thankyou-status-line-height,inherit);color:var(--cpo-thankyou-status-color,inherit);margin-block:var(--cpo-thankyou-status-margin,10px)}
.sapo.cpo-thankyou .cpo-thankyou-mail{font-family:var(--cpo-thankyou-mail-font,inherit);font-size:var(--cpo-thankyou-mail-size,inherit);font-weight:var(--cpo-thankyou-mail-weight,inherit);line-height:var(--cpo-thankyou-mail-line-height,inherit);color:var(--cpo-thankyou-mail-color,inherit);margin-block:var(--cpo-thankyou-mail-margin,10px)}
.sapo.cpo-thankyou .cpo-thankyou-folio strong{font-size:1.25em;color:inherit;font-weight:inherit}.sapo.cpo-thankyou .cpo-thankyou-status strong{font-weight:var(--cpo-summary-detail-label-weight,700)}
@media(max-width:1024px){.sapo .cpo-order-tools .cpo-order-actions{grid-template-columns:repeat(var(--cpo-order-actions-columns-tablet,1),minmax(0,1fr))}.sapo .cpo-thankyou-actions{grid-template-columns:repeat(var(--cpo-thankyou-actions-columns-tablet,2),minmax(0,1fr))}}
@media(max-width:767px){.sapo .cpo-order-payment{grid-template-columns:minmax(0,1fr)}.sapo .cpo-order-tools .cpo-order-actions{grid-template-columns:repeat(var(--cpo-order-actions-columns-mobile,1),minmax(0,1fr))}.sapo .cpo-thankyou-actions{grid-template-columns:repeat(var(--cpo-thankyou-actions-columns-mobile,1),minmax(0,1fr))}.sapo.cpo-thankyou-mark-left,.sapo.cpo-thankyou-mark-right{display:block}.sapo.cpo-thankyou-mark-left>.cpo-thankyou-mark,.sapo.cpo-thankyou-mark-right>.cpo-thankyou-mark{margin:0 auto var(--cpo-thankyou-mark-gap,14px)}.sapo .cpo-thankyou-mark{box-sizing:border-box;max-width:100%}}

.sapo .cpo-mark-monochrome svg:not([fill="none"]),.sapo .cpo-mark-monochrome [fill]:not([fill="none"]){fill:currentColor}.sapo .cpo-mark-monochrome [stroke]:not([stroke="none"]){stroke:currentColor}

/* 1.6.11: typography and balanced panel height. */
.sapo .cpo-order-payment>h3{font-weight:var(--cpo-order-payment-title-weight,600)}
.sapo .cpo-order-payment.cpo-order-fill-balanced{align-items:stretch}
.sapo .cpo-order-fill-balanced>.cpo-order-manage{align-self:stretch}
.sapo .cpo-order-fill-balanced .cpo-order-tools{flex:1;display:flex;flex-direction:column;justify-content:center}
.sapo .cpo-order-fill-balanced .cpo-order-upload{flex:none}
.sapo .cpo-order-destination{font-weight:var(--cpo-order-destination-weight,inherit)}
.sapo .cpo-order-destination>:is(h3,h4),.sapo .cpo-order-destination .sapo-field-label{font-weight:var(--cpo-order-destination-title-weight,600)}
.sapo .cpo-order-tools{font-weight:var(--cpo-order-tools-weight,inherit)}
.sapo .cpo-order-tools>:is(h3,h4),.sapo .cpo-order-tools .sapo-field-label{font-weight:var(--cpo-order-tools-title-weight,600)}
.sapo .cpo-order-upload{font-weight:var(--cpo-order-upload-weight,inherit)}
.sapo .cpo-order-upload>:is(h3,h4),.sapo .cpo-order-upload .sapo-field-label{font-weight:var(--cpo-order-upload-title-weight,600)}
.sapo .cpo-order-notice{font-weight:var(--cpo-order-status-notice-weight,inherit)}
.sapo .cpo-order-notice>:is(h3,h4),.sapo .cpo-order-notice .sapo-field-label{font-weight:var(--cpo-order-status-notice-title-weight,600)}
@media(max-width:767px){.sapo .cpo-order-fill-balanced .cpo-order-tools{flex:none}.sapo .cpo-order-fill-balanced>.cpo-order-manage{align-self:start}}

.sapo .cpo-order-destination>.cpo-payment-details>strong:first-child{font-weight:var(--cpo-order-destination-title-weight,600);font-size:var(--cpo-order-destination-title-size,16px);color:var(--cpo-order-destination-title-color,var(--sapo-primary,#1C345B))}
