/* Only marketing/catalog pages. Never styles the CAT exam UI. */
.ctc-checkout-overlay[hidden]{display:none!important}
.ctc-checkout-overlay{position:fixed;z-index:999999;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(7,20,44,.72);padding:20px;overflow:auto;box-sizing:border-box}
.ctc-modal-lock{overflow:hidden}
.ctc-checkout-dialog{position:relative;box-sizing:border-box;width:100%;max-width:520px;max-height:calc(100vh - 40px);overflow:auto;background:#fff;border:1px solid #e4eaf5;border-radius:22px;padding:clamp(23px,4vw,36px);box-shadow:0 26px 90px rgba(10,27,65,.3);color:#1b2c45}
.ctc-checkout-dialog .ctc-checkout-close{position:absolute;right:17px;top:15px;border:0;background:#f1f5fb;border-radius:50%;width:36px;height:36px;cursor:pointer;font-size:24px;line-height:1;color:#334f72}
.ctc-checkout-kicker{font-size:11px;color:#506cb0;font-weight:800;letter-spacing:.15em}
.ctc-checkout-dialog h2{font-size:clamp(23px,4vw,30px);font-weight:800;letter-spacing:-.035em;margin:10px 0 8px;line-height:1.2;color:#142b50}
.ctc-checkout-dialog p.ctc-checkout-lead{font-size:14px;color:#66768e;line-height:1.65;margin:0 0 18px}
.ctc-checkout-product{display:flex;gap:14px;justify-content:space-between;align-items:center;border-radius:12px;background:#f3f6fc;padding:13px 15px;margin-bottom:20px;font-size:13px}
.ctc-checkout-product strong{min-width:0;overflow-wrap:anywhere}.ctc-checkout-product span{font-weight:800;color:#1d4e9d;white-space:nowrap}
.ctc-checkout-fields{display:grid;gap:12px}.ctc-checkout-fields label{display:grid;gap:6px;font-size:13px;font-weight:700;color:#344b6d}
.ctc-checkout-fields input{box-sizing:border-box;width:100%;min-height:46px;padding:11px 13px;border:1px solid #ccd8e9;border-radius:10px;background:#fff;color:#183353;font-size:15px}
.ctc-checkout-fields input:focus{outline:2px solid #a9c3f2;outline-offset:1px}
.ctc-checkout-fields .ctc-btn{display:flex;justify-content:center;align-items:center;text-align:center;min-height:47px;cursor:pointer;margin-top:5px;border:0;border-radius:10px}
.ctc-checkout-fields .ctc-checkout-small{font-size:12px;line-height:1.5;color:#65758d;margin:0}
.ctc-checkout-honeypot{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.ctc-store-product{position:relative}.ctc-store-badge{align-self:flex-end;font-size:10px;letter-spacing:.06em;font-weight:800;padding:6px 10px;border-radius:6px}.ctc-store-badge.is-free{background:#e1f7ed;color:#147a4d}.ctc-store-badge.is-paid{background:#edf2ff;color:#3456a8}
@media(max-width:550px){.ctc-checkout-overlay{padding:12px}.ctc-checkout-dialog{max-height:calc(100vh - 24px);border-radius:16px}.ctc-checkout-product{align-items:start;flex-direction:column}}
.ctc-checkout-fields .ctc-btn.ctc-btn-primary{background:#2062cc!important;color:#fff!important;font-weight:750;font-family:inherit}
.ctc-checkout-fields .ctc-btn.ctc-btn-primary:hover{background:#174fae!important}
/* Small presentation adjustment only for published-product cards on the landing page. */
.ctc-lp-packages .ctc-package-top{justify-content:flex-end}
.ctc-lp-packages .ctc-package-top b{display:none}

/* v0.5.6: Consistent public product CTAs, regardless of logged-in state. */
.ctc-landing .ctc-lp-packages .ctc-package-card > form,
.ctc-store-shell .ctc-store-product > form{display:block!important;width:100%!important;margin:20px 0 0!important}
.ctc-landing .ctc-lp-packages .ctc-package-card > a.ctc-btn,
.ctc-landing .ctc-lp-packages .ctc-package-card > form > button.ctc-btn,
.ctc-store-shell .ctc-store-product > a.ctc-btn,
.ctc-store-shell .ctc-store-product > form > button.ctc-btn{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0;min-height:49px!important;box-sizing:border-box!important;
  text-align:center!important;margin:20px 0 0!important;line-height:1.2!important;
  border-radius:10px!important;gap:9px!important;
}
.ctc-landing .ctc-lp-packages .ctc-package-card > form > button.ctc-btn,
.ctc-store-shell .ctc-store-product > form > button.ctc-btn{margin:0!important}
.ctc-landing .ctc-lp-packages .ctc-package-card > .ctc-btn.ctc-wa-action,
.ctc-store-shell .ctc-store-product > .ctc-btn.ctc-wa-action,
body.ctc-app-page .ctc-btn.ctc-wa-action,
.ctc-checkout-dialog .ctc-checkout-fields .ctc-btn.ctc-btn-primary{
  background:#15803d!important;border-color:#15803d!important;color:#fff!important;
}
.ctc-landing .ctc-lp-packages .ctc-package-card > .ctc-btn.ctc-wa-action:hover,
.ctc-store-shell .ctc-store-product > .ctc-btn.ctc-wa-action:hover,
.ctc-checkout-dialog .ctc-checkout-fields .ctc-btn.ctc-btn-primary:hover{background:#116c35!important;border-color:#116c35!important}
.ctc-wa-icon{width:18px;height:18px;flex:none;display:inline-block;vertical-align:middle}
.ctc-checkout-dialog .ctc-checkout-kicker{color:#15803d}
.ctc-checkout-dialog .ctc-checkout-product span{color:#15803d}
.ctc-checkout-fields input:focus{outline-color:#86d1a5!important;border-color:#15803d!important}
.ctc-checkout-dialog .ctc-checkout-close:focus-visible{outline:2px solid #15803d;outline-offset:2px}
