#memberinfo .orth-member-rewards{color:var(--orth-text,#263b35);margin:2rem 0;overflow-wrap:anywhere}
#memberinfo .orth-member-rewards h2{color:var(--orth-green-dark,#065548);font-size:1.8rem;font-weight:700;line-height:1.4;margin:0 0 1rem}
#memberinfo .orth-member-rewards h3{font-size:1.35rem;font-weight:600;line-height:1.5;margin:0 0 .8rem}
#memberinfo .orth-member-rewards p{margin:.8rem 0;line-height:1.8}
#memberinfo .orth-rewards-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
#memberinfo .orth-rewards-cards>section,#memberinfo .orth-reward-block{background:#fff;border:1px solid var(--orth-border,#dce8e3);border-radius:10px;padding:1.5rem;min-width:0}
#memberinfo .orth-reward-block{margin-top:1rem}
#memberinfo .orth-reward-value{font-size:1.85rem;font-weight:700;line-height:1.5;color:var(--orth-green-dark,#065548)}
#memberinfo .orth-reward-heading{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
#memberinfo .orth-member-rewards dl{display:grid;grid-template-columns:minmax(0,1fr);gap:.6rem 1.5rem}
#memberinfo .orth-member-rewards dd{margin:0 0 .6rem}
#memberinfo .orth-reward-progress{height:12px;background:var(--orth-pale,#f3f8f6);border-radius:6px;overflow:hidden}
#memberinfo .orth-reward-progress span{height:100%;display:block;background:var(--orth-green-dark,#065548)}
#memberinfo .orth-inspection-ok{color:#246247}#memberinfo .orth-inspection-near,#memberinfo .orth-expiry-warning{color:#785800}
#memberinfo .orth-inspection-expired,#memberinfo .orth-expiry-danger{color:#a82525}#memberinfo .orth-inspection-missing,#memberinfo .orth-inspection-unknown{color:#61736d}
#memberinfo .orth-reorder-shortcut a{display:block;background:var(--orth-green-dark,#065548);color:#fff;padding:1rem;text-align:center;border-radius:8px;width:100%;max-width:380px;margin-inline:auto;box-sizing:border-box}
#memberinfo .orth-member-rewards+h3{margin-top:2rem}
#memberinfo #usces_history,#memberinfo #edit{scroll-margin-top:140px}
@media(min-width:768px){#memberinfo .orth-rewards-cards{grid-template-columns:repeat(2,minmax(0,1fr))}#memberinfo .orth-member-rewards dl{grid-template-columns:max-content minmax(0,1fr)}}
@media(max-width:767px){#memberinfo .orth-reorder-shortcut a{max-width:none}#memberinfo #usces_history,#memberinfo #edit{scroll-margin-top:110px}}

/* Card descriptions remain subordinate to qualification values. */
#memberinfo .orth-rewards-cards>section>p:not(.orth-reward-value){color:var(--orth-subtext,#61736d);font-weight:400}
#memberinfo .orth-reward-block>p>strong{font-size:1.2rem;font-weight:700}
#memberinfo .orth-reward-heading>a{margin-left:auto;align-self:flex-start;line-height:1.8}
#memberinfo .orth-reorder-shortcut{margin:1.5rem 0 2rem}
/* History only: do not change product/detail/list cart forms. */
#memberinfo .history-area .orth-direct-cart .add-to-cart{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 1rem;margin-top:.75rem}
#memberinfo .history-area .orth-direct-cart .add-to-cart::after{content:none}
#memberinfo .history-area .orth-direct-cart .quantity-box{display:flex;align-items:center;gap:.5rem;text-align:left}
#memberinfo .history-area .orth-direct-cart .quantity-box label{margin:0;white-space:nowrap}
#memberinfo .history-area .orth-direct-cart .skuquantity{width:auto;min-width:4.5rem;margin:0}
#memberinfo .history-area .orth-direct-cart .cart-button{width:auto;clear:none}
/* Bootstrap mt-2 / mb-4 are !important utility classes on this existing form. */
#memberinfo .history-area .orth-direct-cart .cart-button.mt-2.mb-4{margin:0!important}
#memberinfo .history-area .orth-direct-cart .skubutton{width:auto;max-width:100%;min-height:44px;height:auto;padding:.8rem 1.5rem;margin:0;line-height:1.5}
#memberinfo .history-area .orth-direct-message{margin:.75rem 0 0}
@media(max-width:767px){
 #memberinfo .history-area .orth-direct-cart .add-to-cart{align-items:stretch;flex-direction:column}
 #memberinfo .history-area .orth-direct-cart .cart-button,#memberinfo .history-area .orth-direct-cart .skubutton{width:100%}
}
