.coupons-panel .billing-block-head{display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px;flex-wrap:nowrap}
.coupons-panel .billing-block-head>.btn{flex:none;white-space:nowrap}
.coupons-panel h2{margin:0}
.coupons-page .billing-intro p{max-width:none}
.coupons-panel .btn,.coupon-form .btn,#campaignRedeemForm .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;line-height:1.25;vertical-align:middle}
.coupons-panel .btn>svg,.coupon-form .btn>svg,#campaignRedeemForm .btn>svg{display:block;margin:0;flex:none}
.coupons-panel .coupon-count{margin:14px 0 0;font-size:13px}
.coupons-panel .management-panel-note{margin:16px 0 0;line-height:1.7}
.coupons-toolbar{display:grid;grid-template-columns:minmax(0,360px) auto;justify-content:start;gap:10px;align-items:end;margin:0 0 18px}
.coupons-toolbar label{display:grid;gap:7px;min-width:0}
.coupons-toolbar input{width:100%;min-width:0}
.coupons-toolbar>.btn{white-space:nowrap}
.coupons-page .coupons-table{min-width:860px}
.coupons-table td{white-space:nowrap}
.coupons-table small{display:block;white-space:normal;color:inherit;opacity:.85;margin-top:4px}
.coupon-actions{display:flex;align-items:center;gap:8px}
.coupon-actions svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.coupons-panel .btn>svg,.coupon-form .btn>svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.coupon-status{font-weight:700}
.coupon-status.active{color:var(--soft-green-ink)}
.coupon-status.paused,.coupon-status.expired{color:var(--soft-red-ink)}
.coupon-status.scheduled,.coupon-status.exhausted{color:var(--soft-amber-ink)}
.coupon-form .coupon-checks{display:flex;gap:20px;flex-wrap:wrap}
.coupon-form .coupon-checks label,.coupon-form .coupon-enabled{display:flex;align-items:center;gap:9px}
.coupon-form input[type=checkbox]{width:20px;height:20px;accent-color:#6418ff;flex-shrink:0}
.coupon-form fieldset{min-width:0;border:1px solid var(--soft-purple-border);border-radius:10px;padding:14px}
.coupon-form legend{padding:0 5px}
.coupon-form .coupon-form-note{margin:0;line-height:1.6}
.coupon-form .form-grid{display:grid;gap:16px}
.coupon-form .form-error{margin:0;color:var(--soft-red-ink);overflow-wrap:anywhere}
.coupon-form .form-error[hidden]{display:none}
.coupon-form #couponDiscountField[hidden],#planCheckoutForm .field[hidden]{display:none}
#campaignRedeemForm .btn>svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.coupon-form .actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:6px}
#planCheckoutForm .checkout-coupon-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
@media(max-width:600px){
 .coupons-toolbar{grid-template-columns:minmax(0,1fr) auto}
 .coupons-toolbar>.btn{padding-inline:12px}
 .coupons-panel .billing-block-head{flex-direction:row;align-items:center;gap:10px}
 #planCheckoutForm .checkout-coupon-controls{grid-template-columns:minmax(0,1fr)}
}
