/* Isolated v3.1.12 additions on top of the known-working 3.1.7 palette. */
.bb312-summary{min-height:180px}
.bb312-benefits-status{padding:20px 26px;color:#d8eddf;font-size:15px}
.bb312-load-notice{padding:12px 18px;margin-bottom:12px;border-radius:12px;background:#f6f1dc;color:#294332}
.bb312-retry{display:inline-flex;margin-left:8px;padding:9px 15px;background:#c9ec69;border:0;border-radius:10px;color:#143e2b;font-weight:700;cursor:pointer}
.bb312-cancel{margin:14px 20px 20px;padding:16px 20px;background:#f9faf5;color:#1f3d30;border:1px solid #bfddc8;border-radius:14px;max-width:100%}
.bb312-cancel summary{cursor:pointer;font-weight:750}
.bb312-cancel form{display:flex;flex-direction:column;gap:12px}
.bb312-cancel label{display:flex;align-items:flex-start;gap:10px}
.bb312-cancel-submit{padding:12px 16px;border:0;border-radius:10px;background:#a32a30;color:#fff;font-weight:700;cursor:pointer;max-width:max-content}
.bb312-cancel a{color:#106846;text-decoration:underline}
@media(max-width:640px){.bb312-cancel{margin:12px 8px;padding:14px}.bb312-benefits-status{padding:14px}}

.bb312-public-placeholder{display:flex;align-items:center;justify-content:center;gap:12px;min-height:90px;border-radius:18px;background:#0a382a;color:#e2f3e7;font-weight:700;padding:18px}.bb312-public-placeholder span{font-size:14px;font-weight:400;color:#b9d3c3}@media(max-width:640px){.bb312-public-placeholder{flex-direction:column;text-align:center}}

/* v3.1.17 — fast expandable benefits instead of an expensive full-page render */
.bb317-lazy-perks{margin:18px auto 0;padding:16px;border-radius:18px;background:#f6f8f0;color:#163c2c;max-width:100%;box-sizing:border-box}
.bb317-lazy-perks h3{margin:0 0 6px;color:#0d5137;font-size:1.3rem}
.bb317-lazy-perks>p{margin:0 0 14px;color:#476b59}
.bb317-perk-group{margin:9px 0;border:1px solid #c8dcd0;border-radius:13px;overflow:hidden;background:#fff;min-width:0}
.bb317-perk-group>button{width:100%;border:0;background:#f0faed;color:#0a5239;padding:14px;display:flex;gap:8px;align-items:center;text-align:left;cursor:pointer;flex-wrap:wrap}
.bb317-perk-group>button strong{font-weight:800}.bb317-perk-group>button small{font-size:.82rem;color:#557260}.bb317-perk-group>button span{margin-left:auto;font-size:1.4rem}
.bb317-perk-content{padding:12px;overflow-wrap:anywhere}
.bb317-perk-content h4{font-size:1rem;margin:12px 0 8px}
.bb317-perk-content .bb30-products,.bb317-perk-content .bb30-articles{max-width:100%}

.bb312-load-notice{color:#18472f;background:#f9f5df;border:1px solid #dcd7b8;border-radius:16px;padding:16px;line-height:1.6}
.bb312-load-notice .bb312-browse{display:inline-block;margin:10px;color:#0c633b;font-weight:700}

/* v3.1.26: Platinum Lab appears immediately, separate from any product query. */
.bb317-perk-content .bb326-offers{margin:18px 0 0;max-width:100%;min-width:0;padding:14px;border-radius:14px;background:#f2f8ef;border:1px solid #cfe2d4;color:#164a35}
.bb317-perk-content .bb326-offers-button{display:inline-flex;align-items:center;justify-content:center;max-width:100%;white-space:normal;border:0;border-radius:12px;background:#15824c;color:#fff;font-weight:750;padding:12px 16px;cursor:pointer}
.bb317-perk-content .bb326-offers-results{overflow-wrap:anywhere;max-width:100%;min-width:0}
.bb317-perk-content [hidden],.bb326-offers-button[hidden]{display:none!important}
