/* Shared customer palette: the same tokens used by the store's vault theme. */
:root[data-theme] body.site-shell.site-shell {
  --bg:var(--ui-canvas);--text:var(--ui-text);--muted:var(--ui-text-muted);--blue:var(--ui-primary);--panel:var(--ui-surface);--line:var(--ui-border);
  --ui-canvas:#f6faf8;--ui-surface:#fff;--ui-surface-muted:#f0f7f3;--ui-surface-soft:#f5faf7;
  --ui-border:#dce9e1;--ui-border-strong:#aec8b9;--ui-text:#142e24;--ui-text-muted:#4d675b;--ui-text-soft:#5f786b;
  --ui-primary:#08724f;--ui-primary-strong:#055a3d;--ui-accent:#08724f;--ui-success:#08724f;--ui-success-text:#055a3d;--ui-success-soft:#e1f4e9;
  --rd-brand:#08724f;--rd-brand-hover:#055a3d;--rd-on-brand:#fff;--rd-tint:#e1f4e9;--rd-tint-hover:#d2ecdf;--rd-control-border:#aec8b9;
  --rd-soft-fill:#f5faf7;--rd-disabled:#edf2ee;--rd-disabled-text:#687c70;--rd-card-shadow:0 12px 40px -24px #173e2b35;
  --xd-accent-a:#08724f;--xd-accent-b:#08724f;--xd-accent-grad:linear-gradient(135deg,#08724f,#055a3d);--xd-ok-grad:linear-gradient(135deg,#08724f,#0b8760);
  --xd-hair:#dce9e1;--xd-fill:#f0f7f3;--xd-input-border:#aec8b9;--xd-field-border:#aec8b9;--xd-field-fill:#fff;
  background:#f6faf8;color:var(--ui-text);
}
:root:is([data-theme="black"],[data-theme="classic"]) body.site-shell.site-shell {
  --ui-canvas:#141815;--ui-surface:#1c221e;--ui-surface-muted:#252c27;--ui-surface-soft:#202822;
  --ui-border:#333e36;--ui-border-strong:#5a7061;--ui-text:#f0f8f2;--ui-text-muted:#b6c9bd;--ui-text-soft:#9fb5a7;
  --ui-primary:#78f2b1;--ui-primary-strong:#a1f7c9;--ui-accent:#78f2b1;--ui-success:#78f2b1;--ui-success-text:#a1f7c9;--ui-success-soft:#203e2d;
  --rd-brand:#78f2b1;--rd-brand-hover:#a1f7c9;--rd-on-brand:#06251a;--rd-tint:#203e2d;--rd-tint-hover:#2a503a;--rd-control-border:#5a7061;
  --rd-soft-fill:#202822;--rd-disabled:#2b352e;--rd-disabled-text:#91aa99;
  --xd-accent-a:#78f2b1;--xd-accent-b:#a1f7c9;--xd-accent-grad:linear-gradient(135deg,#78f2b1,#a1f7c9);--xd-ok-grad:linear-gradient(135deg,#78f2b1,#a1f7c9);
  --xd-hair:#333e36;--xd-fill:#252c27;--xd-input-border:#5a7061;--xd-field-border:#5a7061;--xd-field-fill:#1c221e;
  background:#141815;
}
:root[data-theme] body.site-shell.site-shell :is(.primary-button,.invoice-primary,.journey-primary) {background:var(--rd-brand);color:var(--rd-on-brand);border-color:var(--rd-brand);box-shadow:none;}
:root[data-theme] body.site-shell.site-shell :is(.primary-button,.invoice-primary,.journey-primary):hover {background:var(--rd-brand-hover);color:var(--rd-on-brand);}
:root[data-theme] body.site-shell.site-shell :is(.flow-card,.invoice-card,.hero-panel,.claude-redemption-card,.workflow-section) {border-color:var(--ui-border);}
:root[data-theme] body.site-shell.site-shell .xd-grad {background:var(--xd-accent-grad);background-clip:text;color:transparent;}
.shop-journey {box-sizing:border-box;width:100%;margin:0 0 24px;padding:26px;border:1px solid var(--rd-control-border);border-radius:18px;background:var(--ui-surface);box-shadow:var(--rd-card-shadow);overflow-wrap:anywhere;}
.shop-journey h1 {margin:12px 0 8px;font-size:clamp(22px,3vw,30px);line-height:1.3;color:var(--ui-text);}
.shop-journey p {margin:8px 0;line-height:1.7;color:var(--ui-text-muted);font-size:14px;}
.journey-eyebrow,.journey-state {display:inline-flex;align-items:center;gap:8px;border-radius:99px;padding:5px 11px;background:var(--rd-tint);color:var(--ui-primary-strong);font-size:13px;font-weight:700;}
.journey-eyebrow:before {content:'✓';}.journey-state {margin-top:8px;}
.shop-journey[data-state="review"] .journey-state {background:#fff3cf;color:#805200;}
:root:is([data-theme="black"],[data-theme="classic"]) .shop-journey[data-state="review"] .journey-state {background:#443719;color:#ffd782;}
.journey-reference {font-variant-numeric:tabular-nums;word-break:break-word;}.journey-actions {display:flex;grid-column:1/-1;width:100%;min-width:0;flex-wrap:wrap;gap:10px;align-items:center;margin-top:18px;}
.journey-button {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:max-content;min-height:42px;padding:10px 15px;border:1px solid var(--ui-border-strong);border-radius:10px;background:var(--ui-surface);color:var(--ui-text);font:inherit;font-size:13px;font-weight:600;text-decoration:none;cursor:pointer;line-height:1.4;white-space:nowrap;}
.journey-button:hover {border-color:var(--ui-primary);color:var(--ui-primary-strong);}.journey-button:focus-visible {outline:2px solid var(--ui-primary);outline-offset:3px;}.journey-copy-status {font-size:12px;color:var(--ui-text-muted);}
.journey-copy-status:empty {display:none;}
.journey-support-note:not([hidden]) {display:block;grid-column:1/-1;width:100%;box-sizing:border-box;margin:9px 0 0;font-size:12px;line-height:1.6;color:var(--ui-text-muted);overflow-wrap:anywhere;}
.journey-support-note[hidden] {display:none!important;}
.shop-arrival .customer-hero-panel {display:none;}.shop-arrival .redemption-product-tabs {margin-top:8px;}
.credential-fields {display:grid;gap:12px;margin:18px 0;}.credential-field {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:14px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface-soft);}
.credential-field label {grid-column:1/-1;font-size:13px;font-weight:700;}.credential-field input {min-width:0;width:100%;font-family:ui-monospace,monospace;font-size:14px;}.credential-field button {min-height:44px;}
:root[data-theme] body.site-shell.site-shell #claudeOrderCard[data-state="review"] {border-color:#b68a31;}
:root[data-theme] body.site-shell.site-shell #claudeOrderCard[data-state="review"] .claude-order-icon {background:#fff3cf;color:#805200;}
@media(max-width:760px){
 .shop-journey {padding:20px;margin-bottom:18px;border-radius:14px;}.journey-actions {gap:8px;}.journey-actions .journey-button {flex:1 1 42%;}.journey-reference span {display:block;}.journey-copy-status {flex-basis:100%;}
 :root[data-theme] body.site-shell.site-shell .topbar {flex-wrap:wrap;gap:10px;} .topbar>.journey-button {margin-left:auto;}
 :root[data-theme] .site-shell .session-desktop-copy {display:none!important;}:root[data-theme] .site-shell .session-mobile-copy {display:block!important;}
 .shop-arrival #upgradeEntry {display:none!important;}.shop-arrival .redemption-product-tabs {overflow-x:auto;justify-content:flex-start;}
 .credential-field {grid-template-columns:minmax(0,1fr) auto;}
}

:root[data-theme] body.site-shell.site-shell.shop-arrival :is(.customer-hero-panel,.claude-redemption-hero,.finished-main>.hero-panel) {display:none;}
:root[data-theme] body.site-shell.site-shell .hero-panel .hero-copy h1 .xd-grad {background:var(--xd-accent-grad);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
:root[data-theme] body.site-shell.site-shell .finished-main .flow-card::before {background:var(--rd-brand);}
:root[data-theme] body.site-shell.site-shell .finished-main .primary-button {background:var(--rd-brand);color:var(--rd-on-brand);box-shadow:none;}
:root[data-theme] body.site-shell.site-shell .finished-main :is(.credential-format-hint,.credential-legend) {color:var(--ui-text-muted);}
:root[data-theme] body.site-shell.site-shell .finished-raw summary {border-color:var(--ui-border);}
