.juche-checkout{--blue:#2f6faf;--teal:#4ba7a1;--navy:#24364b;--ink:#303844;--muted:#626f7d;--line:#dce4ec;color:var(--ink);padding:40px 0 60px;line-height:1.65}
.juche-checkout *{box-sizing:border-box}
.juche-checkout [hidden]{display:none!important}
.juche-checkout h1,.juche-checkout h2,.juche-checkout h3,.juche-checkout legend{color:var(--navy);letter-spacing:normal}
.ck-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}
.ck-heading h1{font-size:clamp(30px,3vw,42px);line-height:1.25;margin:0 0 9px;font-weight:700;letter-spacing:-1.5px}
.ck-heading p,.ck-product p,.ck-upload p,.ck-recovery p,.ck-description,.ck-help,.ck-version,.ck-payment-note,.ck-recovery small{color:var(--muted)}
.ck-heading p{margin:0}.ck-heading a{white-space:nowrap}.ck-heading a,.ck-recovery>a{font-size:14px;font-weight:600}
.ck-steps{display:grid;grid-template-columns:repeat(3,1fr);margin:27px 0 22px;padding:0;list-style:none}
.ck-steps li{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600;color:var(--muted);padding:0 0 12px;border-bottom:2px solid var(--line)}
.ck-steps span{font-size:11px;min-width:24px;height:24px;display:inline-grid;place-items:center;background:#e9eef4;border-radius:50%;font-variant-numeric:tabular-nums}
.ck-steps [aria-current]{border-color:var(--blue);color:var(--blue)}.ck-steps [aria-current] span{background:var(--blue);color:white}.ck-steps .ck-complete{border-color:var(--teal)}.ck-steps .ck-complete span{background:#dcedeb;color:#255f5b}
.ck-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);gap:22px;align-items:start}.ck-main,.ck-aside,.ck-grid form{min-width:0;display:grid;gap:16px}.ck-aside{align-content:start}
.ck-card{padding:clamp(18px,2.3vw,30px);border:1px solid var(--line);border-radius:14px;background:white;min-width:0}
.ck-card h2,.ck-methods legend{font-size:21px;line-height:1.4;font-weight:700;margin:0 0 18px}
.juche-checkout fieldset{padding:0;border:0;margin:0;min-width:0}
.ck-card h3,#confirmation legend{font-size:17px;font-weight:650;margin:0 0 10px}
.ck-fields,.ck-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ck-card label:not(.ck-method,.ck-check,.ck-file-btn),.ck-label{display:block;font-size:14px;font-weight:600;color:var(--navy);margin:0 0 6px}.ck-fields label small{font-weight:400;font-size:12px;color:var(--muted)}
.ck-card input:is([type=email],[type=password],#order){display:block;width:100%;border:1px solid #acbbca;border-radius:7px;min-height:44px;padding:8px 12px;font:inherit;font-size:15px;color:var(--ink);background:white}.ck-card input::placeholder{color:#717e89}
.ck-help,.ck-recovery small,.ck-upload p,.ck-version,.ck-payment-note,.ck-description{font-size:13px;line-height:1.6}.ck-help{margin:8px 0 16px}.ck-label{margin-top:16px}
.ck-upload{display:flex;align-items:center;gap:14px;padding:13px 14px;border:1px dashed #a3b8cc;border-radius:9px;background:#f7f9fc}
.ck-file-icon{position:relative;flex:none;width:22px;height:28px;border:2px solid #6992b6;border-radius:3px}.ck-file-icon:after{content:"";display:block;width:10px;height:6px;border-block:1px solid #6992b6;position:absolute;left:4px;bottom:5px}
.ck-upload strong{font-size:14px;overflow-wrap:anywhere}.ck-upload p,.ck-product p{margin:0}.ck-file-btn,.ck-restore{position:relative;cursor:pointer}.ck-file-btn,.ck-secondary,.ck-primary,.ck-link-button,.ck-restore{border-radius:7px;min-height:44px;padding:9px 16px;font:inherit;font-size:14px;font-weight:600;line-height:1.5;display:inline-flex;align-items:center;justify-content:center}
.ck-file-btn{margin-left:auto;flex:none}.ck-file-btn,.ck-secondary,.ck-restore{border:1px solid #b7c9d9;background:white;color:var(--blue)}
.ck-file-btn input,.ck-restore input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.ck-methods legend{padding:0}.ck-method{position:relative;display:grid;align-content:center;gap:3px;padding:13px 36px 13px 15px;border:1px solid #bdcbd8;border-radius:9px;cursor:pointer;min-height:79px;background:white}
.ck-pay-name{display:flex;gap:8px;align-items:center;font-size:16px;font-weight:650;color:var(--navy)}
.ck-pay-mark{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center}.ck-pay-mark svg,.ck-pay-mark img{width:100%;height:auto;display:block}.ck-method input{position:absolute;right:12px;top:15px;width:16px;height:16px;margin:0;accent-color:var(--blue)}.ck-method:has(input:checked){border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue);background:#f2f7fc}.ck-method:has(input:disabled:not(:checked)){background:#f6f8fa;border-color:var(--line);cursor:default}.ck-method:has(input:disabled:not(:checked)) .ck-pay-mark{filter:grayscale(1)}
.juche-checkout #channel-note{margin-bottom:0}.ck-policy{border-top:1px solid var(--line);margin-top:20px;padding-top:19px}.ck-policy nav{display:flex;flex-wrap:wrap;gap:5px 14px;font-size:14px}.juche-checkout #terms{white-space:pre-line;overflow-wrap:anywhere;overflow:auto;max-height:9rem;padding:12px 15px;margin:12px 0 6px;border:1px solid var(--line);background:#f7f9fc;border-radius:7px;font-size:14px;line-height:1.8}.ck-version{overflow-wrap:anywhere;margin:0 0 14px;font-size:12px}
.ck-check{display:flex;align-items:baseline;gap:10px;cursor:pointer;font-size:14px;min-height:35px}.ck-check input{width:17px;height:17px;align-self:flex-start;flex:none;margin:4px 0 0;accent-color:var(--blue)}
.ck-primary,.ck-link-button{background:var(--blue);border:1px solid var(--blue);color:white}.ck-primary{margin-top:12px;padding-inline:24px}.juche-checkout button{cursor:pointer}.juche-checkout button:disabled,.ck-file-btn:has(:disabled),.ck-restore:has(:disabled){cursor:not-allowed;background:#e9eef4;color:#536270;border-color:#dce4ec}.ck-primary:hover:enabled{background:#255b90}.ck-secondary:hover:enabled,.ck-file-btn:hover,.ck-restore:hover{background:#edf4fb}.ck-method:hover:has(input:enabled){border-color:var(--blue)}
.juche-checkout :focus-visible,.ck-file-btn:focus-within,.ck-restore:focus-within,.ck-method:has(input:focus-visible){outline:3px solid #237b79;outline-offset:3px}
.ck-summary{border-top:3px solid #4ba7a1}.ck-summary h2,.ck-recovery h2{font-size:18px}.ck-product{display:flex;gap:14px;align-items:center}.ck-product img{object-fit:contain;width:55px;height:55px}.ck-product strong{color:var(--navy);font-size:22px}.ck-product strong span{font-size:15px}.ck-product p{font-size:13px}
.ck-summary dl{margin:18px 0;padding-block:13px;border-block:1px solid var(--line)}.ck-summary dl div,.ck-total{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.ck-summary dl div{font-size:14px;line-height:2}.ck-summary dt{color:var(--muted)}.ck-summary dd{margin:0;text-align:right}.ck-total>span{font-size:14px}.ck-total strong{color:var(--blue);font-size:28px;line-height:1.2;font-variant-numeric:tabular-nums}.ck-total strong[data-unavailable]{font-size:15px;color:var(--muted)}.ck-payment-note{text-align:right;margin:4px 0 0}
.ck-recovery p{font-size:14px}.ck-recovery small{display:block;margin:6px 0 14px}.ck-recovery .ck-restore label{margin:0;color:inherit}.ck-recovery details{margin:12px 0;border-block:1px solid var(--line);padding:10px 0}.ck-recovery summary{color:var(--blue);cursor:pointer;font-size:14px;font-weight:600;padding:4px 0}.ck-recovery details[open] summary{margin-bottom:10px}.ck-query-actions{display:flex;gap:8px;flex-wrap:wrap}.ck-query-actions button{padding-inline:12px}
.juche-checkout #confirmation{border-top:1px solid var(--line);margin-top:17px;padding-top:8px}.juche-checkout #confirmation legend{padding-right:10px}.juche-checkout #wx{border:1px solid var(--line);border-radius:10px;text-align:center;margin-top:18px;padding:16px}.juche-checkout #wx h3{display:flex;justify-content:center;align-items:center;gap:8px}.juche-checkout #wx p{font-size:14px;color:var(--muted);margin:5px 0}.juche-checkout #qr{display:block;width:256px;max-width:100%;height:auto;background:white;margin:10px auto}
.juche-checkout #state:not(:empty),.juche-checkout #error{margin:0;padding:14px 18px;background:#eaf3f5;border-left:3px solid #4b9893;border-radius:6px;overflow-wrap:anywhere}.juche-checkout #error{margin-bottom:18px;background:#fff7ed;border-color:#ae6a31;scroll-margin-top:calc(var(--checkout-header,5rem) + 10px)}.juche-checkout #error[data-tone=success]{background:#eaf5f0;border-color:#418465}.juche-checkout #error h2{font-size:17px;margin:0 0 3px}.juche-checkout #error p{margin:4px 0}.juche-checkout #result-ref{display:block}.juche-checkout #state:empty{display:none}
@media(max-width:820px){.ck-grid{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:13px}.ck-card{padding:17px}.ck-fields{grid-template-columns:1fr;gap:10px}.ck-method{padding-left:10px}.ck-upload{flex-wrap:wrap}.ck-heading{align-items:start}}
@media(max-width:680px){.juche-checkout{padding:24px 0 35px}.ck-heading{display:grid;gap:5px}.ck-grid{display:flex;flex-direction:column;align-items:stretch}.ck-aside,.ck-main{display:contents}.ck-summary{order:-2}.ck-recovery{order:4}.ck-steps{margin:17px 0 14px}.ck-steps li{font-size:12px;gap:4px}.ck-steps span{min-width:20px;height:20px;font-size:10px}.ck-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:3px 12px;margin:10px 0;padding:8px 0}.ck-summary dl div{display:block;font-size:12px;line-height:1.6}.ck-summary dt,.ck-summary dd{display:inline}.ck-summary dt{margin-right:4px}.ck-summary h2{display:none}.ck-product img{width:42px;height:42px}.ck-product strong{font-size:19px}.ck-card h2,.ck-methods legend{margin-bottom:13px}.ck-heading p{font-size:14px}.ck-payment-note{font-size:12px}.ck-method-grid{gap:8px}.ck-method{padding:12px 7px}.ck-method input{top:8px;right:6px;width:12px;height:12px}.ck-pay-name{gap:4px;font-size:14px}.ck-description{font-size:12px}.ck-pay-mark{width:19px;height:19px}.ck-upload{gap:7px}.ck-upload p{font-size:12px}.ck-file-icon{display:none}.ck-file-btn{margin-left:0}.ck-total strong{font-size:24px}}
@media(prefers-reduced-motion:reduce){.juche-checkout *{scroll-behavior:auto}}

.ck-mobile-resume{display:none}@media(max-width:680px){.ck-mobile-resume{display:inline-block;font-size:14px;margin:0 0 12px}}

#ali-panel,#change-panel {margin:1rem 0}
#ali-panel {text-align:center;padding:1rem;border:1px solid #d6e2ef;border-radius:12px}
#ali-panel iframe {display:block;width:100%;max-width:300px;height:300px;margin:0 auto;border:0;background:white}
#change-note {margin:0 0 .5rem}
