.xc-checkout{--xc-line:#d9e2ef;--xc-ink:#183448;--xc-muted:#557083;color:var(--xc-ink)}
.xc-step-navigation{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.xc-step-navigation:empty{display:none}.xc-step-navigation p{flex-basis:100%;margin:0;font-size:13px}.xc-steps button{padding:6px 10px;min-width:0;text-align:start}
.xc-checkout .xn-head{margin-bottom:18px}.xc-checkout .xn-head h1{font-size:clamp(24px,3vw,32px)}
.xc-checkout h2{font-size:21px;line-height:1.35;margin:0 0 12px}.xc-checkout h2 small{font-size:13px;font-weight:500;color:var(--xc-muted)}
.xc-checkout h3{font-size:18px}.xc-checkout p{font-size:15px;line-height:1.6;margin:8px 0 18px}.xc-checkout small{font-size:13px;line-height:1.5}
.xc-nav{display:flex;gap:6px;border-bottom:1px solid var(--xc-line);margin-bottom:24px;flex-wrap:wrap;padding-bottom:10px}
.xc-nav button{border:0;background:transparent;border-radius:8px;padding:11px 16px;min-height:44px}.xc-nav [aria-current]{color:#1d4ed8;background:#eaf0fe;font-weight:700}
.xc-account{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:18px 24px;border:1px solid var(--xc-line);border-radius:12px;background:#fff;gap:16px}.xc-account small,.xc-account strong{display:block}.xc-account strong{font-size:16px;margin-top:4px}.xc-account small{color:var(--xc-muted)}
.xc-steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:28px 0;gap:12px}.xc-steps li{display:flex;gap:10px;align-items:center;color:var(--xc-muted);font-size:14px}.xc-steps li>span{display:grid;place-items:center;border:1px solid var(--xc-line);background:#fff;border-radius:50%;height:32px;width:32px;flex-shrink:0}.xc-steps [aria-current]{color:#1d4ed8}.xc-steps [aria-current]>span{background:#2563eb;color:white;border-color:#2563eb}.xc-steps .done>span{background:#e4f5ee;color:#08734b;border-color:#b7decd}
.xc-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:24px}.xc-main,.xc-summary{border:1px solid var(--xc-line);border-radius:14px;background:#fff;padding:24px;min-width:0}.xc-summary{position:sticky;top:100px}.xc-summary h2{font-size:17px}.xc-summary dl{margin:16px 0}.xc-summary dl>div{display:flex;justify-content:space-between;gap:12px;margin:14px 0;font-size:14px}.xc-summary dd{margin:0;font-weight:600;white-space:nowrap}.xc-summary dt small{display:block}.xc-summary .xc-total{border-top:1px solid var(--xc-line);padding-top:18px;font-size:17px}.xc-summary p{font-size:13px;color:var(--xc-muted)}
.xc-checkout fieldset{border:0;padding:0;margin:0 0 20px;min-width:0}.xc-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.xc-choice{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--xc-line);border-radius:10px;padding:16px;cursor:pointer;min-width:0;background:#fff;color:var(--xc-ink);font-size:14px;line-height:1.4}.xc-choice:has(input:checked){border-color:#2563eb;background:#f0f5ff;box-shadow:0 0 0 1px #2563eb}.xc-choice:focus-within{outline:2px solid #88adff;outline-offset:3px}.xc-choice input[type=radio]{width:18px;min-height:18px;height:18px;margin:3px 0 0;flex-shrink:0;accent-color:#2563eb}.xc-choice span{min-width:0}.xc-choice b,.xc-choice strong,.xc-choice small{display:block;overflow-wrap:anywhere}.xc-choice strong{font-size:24px;margin:9px 0;line-height:1.2}.xc-choice strong small{display:inline;font-size:11px;font-weight:400}.xc-choice small{color:var(--xc-muted);font-weight:400}.xc-keep{margin-bottom:20px}.xc-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.xc-fields label,.xc-sign>label,.xc-upload>label{display:block;font-size:14px;font-weight:600}.xc-checkout .xc-fields input,.xc-checkout select,.xc-sign input[type=text]{display:block;width:100%;min-width:0;min-height:44px;margin-top:7px;padding:10px;border:1px solid #bbcddd;border-radius:8px;background:white;color:var(--xc-ink);font-size:15px}.xc-checkout input:disabled,.xc-checkout select:disabled{opacity:.65}.xc-form .xc-hint{font-size:13px;color:var(--xc-muted);margin-bottom:28px}.xc-credits{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}
.xc-footer{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:24px;padding-top:20px;border-top:1px solid var(--xc-line)}.xc-checkout button{font-size:14px;white-space:normal;line-height:1.4;min-height:44px}.xc-checkout .xn-primary{background:#2563eb;color:#fff;padding:12px 20px;border:1px solid #2563eb;border-radius:8px}.xc-error{color:#a21935}.xc-note{color:var(--xc-muted)}
.xc-documents{border:1px solid var(--xc-line);border-radius:10px;overflow:hidden;margin:20px 0}.xc-documents details+details{border-top:1px solid var(--xc-line)}.xc-documents summary{padding:15px 16px;cursor:pointer;font-size:14px;line-height:1.5}.xc-documents summary small{display:block;color:var(--xc-muted);margin:3px 0 0 18px}.xc-document-body{padding:16px;background:#f6f8fc}.xc-legal-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7;margin-bottom:18px}.xc-sign{margin-top:24px}.xc-sign .xc-consent{display:flex;gap:12px;align-items:flex-start;margin:18px 0;font-weight:400;line-height:1.6}.xc-consent input[type=checkbox]{width:18px;height:18px;min-height:18px;flex-shrink:0;margin-top:3px;accent-color:#2563eb}.xc-notice{background:#eaf7ef;padding:16px;border-radius:10px;margin-top:20px}.xc-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.xc-methods legend{margin-bottom:12px;font-size:14px}.xc-receipt{margin-bottom:24px}.xc-payment-detail{border-top:1px solid var(--xc-line);padding-top:20px}.xc-upload{margin-top:24px;padding:16px;border:1px dashed #b1c3d6;border-radius:10px}.xc-upload input{display:block;width:100%;margin:12px 0;min-width:0}.xc-bank{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;font-size:14px}.xc-bank dd{margin:0;overflow-wrap:anywhere}.xc-history article{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--xc-line);padding:16px 0;flex-wrap:wrap}.xc-history article>div{flex:1;min-width:150px}.xc-history small{display:block;margin-top:6px;color:var(--xc-muted)}.xc-request-options{margin-top:24px;color:var(--xc-muted);font-size:14px}.xc-request-options summary{cursor:pointer;margin-bottom:12px}.xc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:1100px){.xc-layout{grid-template-columns:minmax(0,1fr)}.xc-summary{position:static;grid-row:1;padding:18px}.xc-summary dl{display:flex;flex-wrap:wrap;gap:8px 24px;margin:8px 0}.xc-summary dl>div{gap:12px;margin:4px 0}.xc-summary .xc-total{padding:0;border:0;margin-inline-start:auto}.xc-summary p{margin-bottom:0}}
@media(max-width:600px){.xc-main{padding:18px 14px}.xc-plans,.xc-fields{grid-template-columns:minmax(0,1fr)}.xc-plans .xc-choice span{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;flex:1}.xc-plans .xc-choice strong{margin:0;grid-column:2;grid-row:1 / span 2;font-size:24px}.xc-plans .xc-choice strong small{display:block;text-align:right}.xc-choice{padding:13px}.xc-steps{gap:8px;margin:20px 0}.xc-steps li{flex-direction:column;align-items:flex-start;font-size:12px;gap:6px}.xc-account{padding:14px;gap:10px}.xc-account strong{font-size:14px;overflow-wrap:anywhere}.xc-account small{font-size:11px}.xc-methods{grid-template-columns:minmax(0,1fr)}.xc-nav button{padding:10px;font-size:13px}.xc-footer>button{width:100%}.xc-bank{grid-template-columns:minmax(0,1fr);gap:4px}.xc-bank dd{margin-bottom:12px}}

/* Keep wizard navigation distinct from shared workspace action buttons. */
#content .xc-checkout .xn-head{margin-bottom:14px}
#content .xc-checkout .xn-head .xn-sub{margin-bottom:0}
#content .xc-checkout .xc-nav button{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
#content .xc-checkout .xc-nav button[aria-current]{color:#1d4ed8!important;-webkit-text-fill-color:#1d4ed8!important;background:#eaf0fe!important;border-color:#c8d6f6!important}
#content .xc-checkout .xc-account{border-color:var(--xc-line)}

/* Keep checkout states legible beneath the legacy workspace !important rules. */
html body #app.x-responsive #content .xn.xc-checkout .xc-nav button[aria-current=page]{background:#eaf0fe!important;border-color:#c8d6f6!important;color:#1d4ed8!important;-webkit-text-fill-color:currentColor!important}
html body #app.x-responsive #content .xn.xc-checkout .xc-steps [aria-current=step]>span{background:#2563eb!important;color:#fff!important;-webkit-text-fill-color:currentColor!important}
html body #app.x-responsive #content .xn.xc-checkout .xc-steps .done>span{background:#e4f5ee!important;color:#08734b!important;-webkit-text-fill-color:currentColor!important}
html body #app.x-responsive #content .xn.xc-checkout button.xn-primary:not(:disabled){background:#2563eb!important;border-color:#2563eb!important;color:#fff!important;-webkit-text-fill-color:currentColor!important}
html body #app.x-responsive #content .xn.xc-checkout button.xn-primary:not(:disabled) *{color:inherit!important;-webkit-text-fill-color:currentColor!important}
