/* Checkout and invoice views */
.checkout {
  --ck-bg: #0e121a;
  --ck-raise: #131923;
  --ck-line: #28303d;
  --ck-text: #f1f4f9;
  --ck-muted: #aeb7c7;
  --ck-accent: #cefa6b;
  --ck-mono: var(--mono, 'IBM Plex Mono', Consolas, monospace);
  max-width: 1224px;
  margin-inline: auto;
  padding: 32px 28px 100px;
  color: var(--ck-text);
}

.checkout [hidden] { display: none !important; }
.checkout :focus-visible {
  outline: 2px solid var(--ck-accent);
  outline-offset: 4px;
}
.checkout .ck-return {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--ck-muted);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
}
.checkout .ck-return:hover { color: var(--ck-accent); }
.ck-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 32px;
}
.ck-header h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.5vw, 4.65rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.067em;
  color: var(--ck-text);
}
.ck-header p {
  margin: 13px 0 0;
  color: var(--ck-muted);
  font-size: .98rem;
  line-height: 1.6;
}
.ck-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 4px;
  list-style: none;
  color: var(--ck-muted);
}
.ck-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  font-weight: 600;
  white-space: nowrap;
}
.ck-steps li + li::before {
  content: '';
  width: 13px;
  height: 1px;
  background: var(--ck-line);
  margin-right: 2px;
}
.ck-steps li[aria-current='step'] { color: var(--ck-text); }
.ck-step-dot {
  width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ck-line);
  border-radius: 50%;
  font-family: var(--ck-mono);
  font-size: .65rem;
}
.ck-steps li[aria-current='step'] .ck-step-dot {
  color: #141b09;
  border-color: var(--ck-accent);
  background: var(--ck-accent);
  font-weight: 800;
}
.ck-steps .is-complete .ck-step-dot {
  color: var(--ck-accent);
  border-color: #597333;
}
.ck-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 350px);
  align-items: start;
  gap: 22px;
}
.ck-panel {
  min-width: 0;
  border: 1px solid var(--ck-line);
  border-radius: 15px;
  background: var(--ck-bg);
  overflow: hidden;
}
.ck-panel-body { padding: clamp(18px, 3vw, 30px); }
.ck-panel h2, .ck-panel legend {
  margin: 0;
  padding: 0;
  font-size: 1.13rem;
  font-weight: 650;
  letter-spacing: -.025em;
  color: var(--ck-text);
}
.ck-panel p {
  color: var(--ck-muted);
  line-height: 1.58;
}
.ck-panel p.ck-description {
  margin: 7px 0 16px;
  font-size: .86rem;
}
.ck-group {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}
.ck-group + .ck-group { margin-top: 33px; }
.ck-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.ck-options-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ck-option {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--ck-line);
  border-radius: 8px;
  background: var(--ck-raise);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.ck-option:hover { border-color: #636e83; }
.ck-option:has(input:checked) { border-color: #8bab4d; background: #1b2518; }
.ck-option:has(input:focus-visible) {
  outline: 2px solid var(--ck-accent);
  outline-offset: 3px;
}
.ck-option input {
  margin: 0 0 0 auto;
  order: 3;
  width: 15px;
  height: 15px;
  min-width: 15px;
  accent-color: var(--ck-accent);
  cursor: pointer;
}
.ck-option input:focus-visible { outline: none; }
.ck-option:has(input:disabled), .ck-option input:disabled {
  cursor: not-allowed;
}
.ck-option-icon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  color: var(--ck-accent);
  border-radius: 6px;
  background: #cffa6d11;
}
.ck-option-icon svg { display: block; }
.ck-option-copy { min-width: 0; }
.ck-option-copy strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.ck-option-copy small {
  display: block;
  margin-top: 4px;
  color: var(--ck-muted);
  font-size: .72rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.ck-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
}
.ck-status-row:empty { display: none; }
.ck-error {
  padding: 12px 14px;
  margin: 14px 0 0;
  border: 1px solid #774949;
  border-radius: 8px;
  background: #261a1c;
  color: #ffc0bd;
  font-size: .84rem;
  line-height: 1.55;
}
.ck-summary { position: sticky; top: 93px; }
.ck-summary h2 { margin-bottom: 22px; }
.ck-plan {
  padding: 15px;
  margin-bottom: 19px;
  border: 1px solid var(--ck-line);
  border-radius: 9px;
  background: var(--ck-raise);
}
.ck-plan span {
  display: block;
  color: var(--ck-accent);
  font: .67rem var(--ck-mono);
  font-weight: 600;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.ck-plan strong {
  display: block;
  margin: 5px 0 3px;
  font-size: 1.04rem;
  line-height: 1.35;
}
.ck-plan small {
  display: block;
  color: var(--ck-muted);
  font-size: .74rem;
  line-height: 1.45;
}
.ck-breakdown { display: grid; gap: 11px; margin: 0; }
.ck-breakdown > div, .ck-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.ck-breakdown dt, .ck-breakdown dd {
  margin: 0;
  font-size: .8rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.ck-breakdown dt { color: var(--ck-muted); }
.ck-breakdown dd { font-weight: 650; text-align: right; }
.ck-total {
  align-items: baseline;
  padding: 17px 0;
  margin: 18px 0 3px;
  border-top: 1px solid var(--ck-line);
  font-size: .87rem;
  font-weight: 700;
}
.ck-total b {
  font: 700 1.55rem var(--ck-mono);
  letter-spacing: -.055em;
  white-space: nowrap;
}
.ck-total b small { color: var(--ck-muted); font-size: .72rem; letter-spacing: 0; }
.ck-summary-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: .75rem;
}
.ck-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 15px;
  color: #151a0e;
  background: var(--ck-accent);
  border: 1px solid var(--ck-accent);
  border-radius: 7px;
  text-align: center;
  text-decoration: none;
  font: inherit;
  font-size: .83rem;
  font-weight: 750;
  line-height: 1.25;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.ck-button:hover:not(:disabled) { background: #e1ff9e; border-color: #e1ff9e; }
.ck-button:disabled { opacity: .65; cursor: not-allowed; }
.ck-button.ck-button-secondary {
  color: var(--ck-text);
  background: var(--ck-raise);
  border-color: var(--ck-line);
}
.ck-button.ck-button-secondary:hover:not(:disabled) {
  color: var(--ck-accent);
  background: #1b231b;
  border-color: #596948;
}
.ck-summary .ck-button { width: 100%; }
.ck-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--ck-muted);
  font-size: .77rem;
  line-height: 1.6;
  cursor: pointer;
}
.ck-agree input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 2px 0 0;
  accent-color: var(--ck-accent);
}
.ck-agree a, .ck-inline-link { color: var(--ck-accent); text-underline-offset: 3px; }
.ck-invoice-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.ck-invoice-heading p { margin: 6px 0 0; font-size: .84rem; }
.ck-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid #674e31;
  border-radius: 6px;
  color: #ffd8a1;
  background: #352818;
  font: 650 .68rem var(--ck-mono);
  line-height: 1.3;
}
.ck-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: currentColor;
}
.ck-badge[data-state='confirming'], .ck-badge[data-state='provisioning'] {
  border-color: #415378;
  color: #bacbff;
  background: #19233d;
}
.ck-badge[data-state='active'] {
  border-color: #516934;
  color: var(--ck-accent);
  background: #1c2817;
}
.ck-badge[data-state='expired'] {
  border-color: #714749;
  color: #ffb9b9;
  background: #301d21;
}
.ck-invoice-details {
  display: grid;
  gap: 1px;
  overflow: hidden;
  padding: 0;
  margin: 22px 0;
  border: 1px solid var(--ck-line);
  border-radius: 9px;
  background: var(--ck-line);
}
.ck-invoice-details div {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(83px, 128px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  background: var(--ck-raise);
}
.ck-invoice-details dt { font-size: .76rem; color: var(--ck-muted); }
.ck-invoice-details dd {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin: 0;
  font-size: .81rem;
  overflow-wrap: anywhere;
}
.ck-invoice-details code { font: 650 .78rem var(--ck-mono); overflow-wrap: anywhere; }
.ck-copy {
  flex: 0 0 auto;
  min-width: 54px;
  min-height: 30px;
  padding: 4px 7px;
  background: var(--ck-bg);
  border: 1px solid var(--ck-line);
  border-radius: 5px;
  color: var(--ck-text);
  font: inherit;
  font-size: .7rem;
  font-weight: 650;
  cursor: pointer;
}
.ck-copy:hover { color: var(--ck-accent); border-color: #687753; }
.ck-invoice-note {
  margin: 0 0 16px;
  font-size: .84rem;
}
.ck-invoice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ck-invoice-progress {
  position: relative;
  display: grid;
  gap: 17px;
  margin: 24px 0 18px;
  padding: 0;
  list-style: none;
}
.ck-invoice-progress li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 28px;
  font-size: .83rem;
  color: var(--ck-muted);
}
.ck-invoice-progress span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ck-line);
  border-radius: 50%;
  color: inherit;
  font: 650 .73rem var(--ck-mono);
}
.ck-invoice-progress li[aria-current='step'] { color: var(--ck-text); }
.ck-invoice-progress li[aria-current='step'] span {
  border-color: var(--ck-accent);
  background: var(--ck-accent);
  color: #0e1607;
}
.ck-invoice-progress .is-complete span {
  border-color: #597333;
  color: var(--ck-accent);
}
.ck-feedback {
  margin: 12px 0 0;
  color: var(--ck-muted);
  font-size: .77rem;
  min-height: 1.2em;
}
.ck-feedback:empty { min-height: 0; margin: 0; }
.ck-load { font-size: .86rem; }

@media (max-width: 1060px) {
  .ck-options-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  .ck-header { display: block; }
  .ck-steps { margin-top: 17px; }
  .ck-layout { grid-template-columns: minmax(0, 1fr); }
  .ck-summary { position: static; }
  .ck-options-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .checkout { padding: 24px 15px 66px; }
  .checkout .ck-return { margin-bottom: 20px; }
  .ck-header { margin-bottom: 22px; }
  .ck-options-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ck-option { min-height: 60px; padding: 9px; gap: 7px; }
  .ck-option-icon { width: 22px; height: 22px; flex-basis: 22px; }
  .ck-option-copy strong { font-size: .78rem; }
  .ck-option-copy small { font-size: .67rem; }
  .ck-invoice-details div { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .ck-invoice-actions > * { flex: 1 1 145px; }
}
@media (max-width: 355px) {
  .ck-options, .ck-options-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .checkout *, .checkout *::before { transition: none !important; }
}
.ck-progress-title { margin-top: 26px !important; }
.ck-agree label { cursor: pointer; }
.ck-service-lock{display:flex;gap:14px;align-items:flex-start;padding:16px;margin:0 0 27px;border:1px solid #405130;border-radius:10px;background:#171e16}
.ck-service-lock>span{flex:none;color:var(--ck-accent);padding-top:2px}
.ck-service-lock strong{font-family:var(--head);font-size:20px}
.ck-service-lock p{margin-top:3px;font-size:13px}
.ck-service-lock small{display:block;margin:10px 0 4px;font:11px var(--ck-mono);color:var(--ck-muted);overflow-wrap:anywhere}
.ck-qr{display:flex;align-items:center;gap:14px;margin:17px 0 12px;padding:12px;border:1px solid var(--ck-line);border-radius:9px;background:#0c1118}
.ck-qr-code{width:104px;min-width:0;flex:0 0 104px;border-radius:4px;overflow:hidden;background:#fff}
.ck-qr-code svg{display:block;width:100%;height:auto}
.ck-qr figcaption{min-width:0}.ck-qr figcaption strong{display:block;font-size:13px}.ck-qr figcaption p{font-size:12px;margin-top:4px}
.ck-option-icon:has(img){background:none;flex-basis:30px;width:30px;height:30px}
.product-logo,.crypto-logo{width:28px;height:28px;object-fit:contain;flex:none}
.country-flag{width:30px;height:20px;object-fit:cover;border-radius:3px;border:1px solid #ffffff20;flex:none}
.ck-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.ck-field-wide{grid-column:1/-1}
.ck-field{display:flex;flex-direction:column;gap:8px;min-width:0;color:var(--ck-text);font-size:.85rem;font-weight:600}
.ck-field input,.ck-field select,.ck-field textarea{display:block;width:100%;min-width:0;border:1px solid var(--ck-line);border-radius:8px;background:var(--ck-raise);color:var(--ck-text);padding:13px;font:400 .87rem var(--base);line-height:1.45;box-sizing:border-box}
.ck-field select{padding-right:25px;text-overflow:ellipsis}
.ck-field textarea{font-family:var(--ck-mono);font-size:.76rem;resize:vertical;min-height:112px}
.ck-field input[readonly]{color:var(--ck-muted);background:#ffffff03}
.ck-field small{font-size:.74rem;font-weight:400;line-height:1.5;color:var(--ck-muted)}
.ck-included-line{display:flex;flex-wrap:wrap;gap:10px 16px;margin:14px 0 0;font-size:.72rem;color:var(--ck-muted)}
.ck-included-line span{display:flex;gap:5px;align-items:center}.ck-included-line svg{color:var(--ck-accent)}
.ck-auth-choice{margin-top:23px}.ck-field-label{display:block;font-size:.85rem;margin-bottom:10px;font-weight:600}
.ck-access [data-key-field]{margin-top:18px}
.ck-access-note,.ck-network-callout{display:flex;align-items:flex-start;gap:12px;border:1px solid #c8fa682b;border-radius:9px;background:#baff5e07;padding:17px;margin-top:22px}
.ck-access-note>svg{flex:none;color:var(--ck-accent);margin-top:2px}
.ck-access-note strong,.ck-network-callout strong{font-size:.85rem}
.ck-access-note p,.ck-network-callout p{margin:5px 0 0;font-size:.79rem;line-height:1.6}
.ck-panel .ck-ip-note{display:flex;align-items:flex-start;gap:8px;font-size:.75rem;margin:20px 0 0}.ck-ip-note svg{flex:none;margin-top:2px}
.ck-checkout-assurance{display:flex;align-items:center;gap:8px;padding-top:19px;margin-top:18px;border-top:1px solid var(--ck-line);color:var(--ck-muted);font-size:.72rem;line-height:1.5}.ck-checkout-assurance svg{color:var(--ck-accent);flex:none}
.ck-summary-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px}.ck-summary-heading>a{font-size:.8rem;color:var(--ck-accent)}
.ck-edit-configuration{display:block;text-align:center;font-size:.8rem;color:var(--ck-muted);margin-top:20px}.ck-edit-configuration:hover{color:var(--ck-accent)}
.ck-network-callout>.crypto-logo{margin-top:3px}
.ck-payment-explainer{border-top:1px solid var(--ck-line);margin-top:30px;padding-top:27px}
.ck-payment-explainer ol{list-style:none;display:grid;gap:21px;padding:0;margin:22px 0 0}
.ck-payment-explainer li{display:flex;gap:15px;font-size:.8rem;color:var(--ck-muted);line-height:1.6}
.ck-payment-explainer li>b{font:400 .71rem var(--ck-mono);color:var(--ck-accent);padding-top:4px}
.ck-payment-explainer li strong{display:block;font-size:.85rem;color:var(--ck-text);font-weight:500;margin-bottom:3px}
@media(max-width:560px){.ck-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ck-steps li{font-size:.68rem;gap:5px}.ck-steps li+li::before{display:none}.ck-step-dot{width:19px;height:19px}}
@media(max-width:560px){.ck-field-grid{gap:15px}.ck-field input,.ck-field select,.ck-field textarea{font-size:16px;padding:11px}.ck-field textarea{font-size:12px}.ck-auth-choice .ck-options{grid-template-columns:1fr}.ck-option-icon:has(img){width:25px;flex-basis:25px}.ck-option-icon .product-logo,.ck-option-icon .crypto-logo{width:24px;height:24px}.ck-option-icon .country-flag{width:25px;height:17px}}
