.cpm-wrap,.cpm-return-addon{--cpm-accent:#087f5b;color:#102b46;font-family:inherit;box-sizing:border-box}
.cpm-wrap *, .cpm-return-addon *{box-sizing:border-box}
.cpm-wrap{max-width:760px;margin:20px auto 34px;background:#fff;border:1px solid #dce5ee;border-radius:16px;padding:clamp(18px,3vw,30px)}
.cpm-wrap h1{color:#102b46;font-size:clamp(25px,4.5vw,32px);font-weight:750;line-height:1.25;margin:0 0 8px}
.cpm-wrap h3,.cpm-return-addon h3{color:#102b46;font-size:16px;font-weight:750;margin:0 0 12px}
.cpm-muted{color:#5a7083;font-size:14px;line-height:1.6;margin:8px 0 16px}
.cpm-form{display:grid;gap:15px;border:1px solid #e0e8ef;border-radius:14px;background:#fff;padding:clamp(16px,2vw,22px);margin:20px 0}
.cpm-form label{display:block;color:#102b46;font-size:14px;font-weight:700}
.cpm-required{color:#d62828}
.cpm-form input{display:block;width:100%;height:46px;font-family:inherit;color:#102b46;font-size:15px;background:#fff;border:1px solid #bacbd8;border-radius:9px;margin-top:7px;padding:0 13px}
.cpm-form input::placeholder{color:#7a8997!important;font-weight:400!important;font-style:normal!important;opacity:1}
.cpm-form input:focus{border-color:var(--cpm-accent);outline:2px solid rgba(8,127,91,.13);outline-offset:0}
.cpm-primary,.cpm-outline{display:inline-flex;align-items:center;justify-content:center;text-align:center;gap:7px;text-decoration:none!important;line-height:1.35;border-radius:9px;font-weight:750;font-family:inherit;font-size:14px;min-height:43px;cursor:pointer;box-shadow:none!important;padding:10px 16px}
.cpm-primary{background:var(--cpm-accent)!important;color:#fff!important;border:1px solid var(--cpm-accent)!important}
.cpm-primary:hover{filter:brightness(.91);color:#fff!important}
.cpm-outline{background:#fff!important;color:var(--cpm-accent)!important;border:1px solid #a9d4c2!important}
.cpm-outline:hover{background:#f0f9f4!important;color:var(--cpm-accent)!important}
.cpm-panel{border:1px solid #dce5ee;border-radius:14px;background:#fff;padding:clamp(16px,2.8vw,22px);margin:18px 0}
.cpm-panel p{margin:12px 0;color:#42596e;font-size:14px;line-height:1.6}
.cpm-state{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:10px;background:#edf7f2;color:#102b46}
.cpm-state-wait{background:#f2f6f8}
.cpm-state-icon{border-radius:50%;height:27px;width:27px;background:var(--cpm-accent);color:#fff;font-weight:750;font-size:19px;line-height:27px;flex:0 0 27px;text-align:center}
.cpm-state-wait .cpm-state-icon{background:#526e83}
.cpm-state strong{display:block;font-size:15px;line-height:1.4}
.cpm-state small{display:block;color:#586c7b;font-size:12px;margin-top:2px}
.cpm-products{display:grid;gap:6px;border-bottom:1px solid #e7edf1;margin:16px 0;padding-bottom:12px}
.cpm-products>div{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:14px}
.cpm-products strong{font-size:15px}
.cpm-products span{white-space:nowrap;color:#52697e}
.cpm-codes{display:grid;gap:8px}
.cpm-code-item{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #dce5ee;padding:9px 11px;border-radius:9px;background:#fcfdfd}
.cpm-code-detail{min-width:0;overflow-wrap:anywhere}
.cpm-code-detail small{display:block;font-size:13px;color:#5a6f82;line-height:1.4;margin-bottom:4px;font-weight:500}
.cpm-code-detail code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:18px;background:transparent;color:#102b46;font-weight:750;padding:0;overflow-wrap:anywhere;white-space:normal}
.cpm-copy{min-width:96px;flex:0 0 auto;font-family:inherit;font-size:15px;font-weight:750;color:var(--cpm-accent)!important;border:1px solid #c7ddd3!important;background:#fff!important;border-radius:10px;padding:10px 14px;cursor:pointer}
.cpm-copy:hover{background:#e8f7ef!important}
.cpm-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}
.cpm-actions .cpm-primary,.cpm-actions .cpm-outline{flex:1 1 180px}
.cpm-note{margin-bottom:0!important}
.cpm-saved{background:#f8fbfa;border:1px solid #dce5ee;border-radius:12px;padding:15px;margin-top:16px}
.cpm-saved-row{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:8px 0;border-bottom:1px solid #e1e8e6}
.cpm-saved-row:last-child{border:0}
.cpm-saved-row a{font-weight:700;color:var(--cpm-accent);text-decoration:none}
.cpm-saved-row button{background:transparent;border:0;cursor:pointer;font-size:12px;color:#627386}
.cpm-footer-note{margin-top:18px}
.cpm-return-addon{max-width:760px;margin:16px auto 30px;padding:0 2px}
.cpm-return-addon>.cpm-panel{margin-top:0}
.cpm-link{text-align:center;margin:14px 0}
@media(max-width:550px){.cpm-wrap{margin:12px 0 24px;padding:16px;border-radius:13px}.cpm-form{padding:15px;gap:12px;margin:15px 0}.cpm-code-item{gap:8px}.cpm-copy{min-width:70px;padding:7px 6px}.cpm-code-detail code{font-size:16px}.cpm-state strong{font-size:14px}.cpm-actions{flex-direction:column}.cpm-actions .cpm-primary,.cpm-actions .cpm-outline{flex:unset;width:100%}}

/* Alternative lookup: compact, no extra required fields */
.cpm-quick-results>h3{font-size:18px;margin:18px 0 10px}
.cpm-quick-order{margin:10px 0}
.cpm-mail-first{background:#f8fbfa}

/* Entrega por UID/WhatsApp: instrução clara sem botão copiar código. */
.cpm-instruction{background:#f3f9fc;border-color:#d5e6ef;padding:13px 15px}
.cpm-instruction .cpm-instruction-text{font-family:inherit;font-size:18px;font-weight:700;line-height:1.55;color:#173f58;margin:6px 0 0;overflow-wrap:anywhere}
