/* Customer search: level control bottoms, search left and filters right. */
#customer-workspace#customer-workspace#customer-workspace#customer-workspace .ho-cus-search476{grid-template-columns:minmax(240px,1fr) auto minmax(170px,.45fr) minmax(170px,.45fr)!important;align-items:end!important;gap:14px!important}
#customer-workspace#customer-workspace#customer-workspace#customer-workspace .ho-search-input476{order:1!important;align-self:end!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:0 12px!important}
#customer-workspace#customer-workspace#customer-workspace#customer-workspace .ho-search-input476 input{height:42px!important;min-height:0!important;margin:0!important;padding-top:0!important;padding-bottom:0!important}
#customer-workspace#customer-workspace#customer-workspace#customer-workspace .ho-search-row476>button{order:2!important;margin:0!important;align-self:end!important}
#customer-workspace#customer-workspace#customer-workspace#customer-workspace .ho-filter-row476>label{order:3!important;margin:0!important;padding:0!important;grid-template-rows:20px 44px!important;gap:5px!important;align-self:end!important}
#customer-workspace#customer-workspace#customer-workspace#customer-workspace .ho-filter-row476>label:nth-child(2){order:4!important}
#customer-workspace#customer-workspace#customer-workspace#customer-workspace .ho-filter-row476 select{margin:0!important;padding-top:0!important;padding-bottom:0!important;height:44px!important}
#customer-workspace .customer-badges512{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:stretch;width:100%;margin:22px 0}
#customer-workspace .customer-badges512>.cl-guide,#customer-workspace .customer-badges512>.ho-loyalty-overview476{margin:0!important;min-width:0;box-sizing:border-box;height:100%}
#customer-workspace .customer-badges512 .ho-cus-loyalty-inputs{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
#customer-workspace .customer-badges512 .ho-cus-loyalty-inputs label{display:flex!important;flex-direction:column;gap:6px;margin:0!important;min-width:0;font-size:12px}
#customer-workspace .customer-badges512 .ho-cus-loyalty-inputs input{width:100%!important;min-width:0;height:42px!important;box-sizing:border-box;margin:0!important}
#customer-workspace .customer-badges512 .ho-cus-loyalty-inputs small{font-size:11px;line-height:1.4}
#customer-workspace .customer-badges512 .cl-badge-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#customer-workspace .customer-badges512 .cl-badge-guide .cl-badge{white-space:normal;min-width:0;justify-content:center}
/* Prevent older campaign grid rules from moving the new workspace to one side. */
body .ho-promotions .ho-promo-editor.campaign-form511{display:flex!important;flex-direction:column!important;gap:18px!important;min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
body .ho-promotions .campaign-form511>.promo381-content,body .ho-promotions .campaign-form511>.promo409-settings{display:none!important}
body .ho-promotions .campaign-form511 .campaign-sections511{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important;max-width:100%!important;min-width:0!important}
body .ho-promotions .campaign-form511 .campaign-section511{min-width:0!important;width:100%!important;box-sizing:border-box;overflow:hidden}
body .ho-promotions .campaign-form511 .campaign-upload511 img{display:block!important;width:100%!important;max-width:100%!important;height:150px!important;max-height:150px!important;object-fit:contain!important;position:static!important;margin:10px 0!important}
body .ho-promotions .campaign-form511 input:not([type=checkbox]),body .ho-promotions .campaign-form511 textarea{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
body .ho-promotions .campaign-form511 input[type=file]{font:600 12px 'Segoe UI',sans-serif;padding:9px!important;border:1px solid var(--line,#435158);border-radius:9px}
body .ho-promotions .campaign-form511 input[type=file]::file-selector-button{padding:10px 12px;border:1px solid #55646a;border-radius:7px;background:#2c383d;color:white;font:inherit;margin-right:10px}
@media(max-width:1100px){#customer-workspace .customer-badges512{grid-template-columns:minmax(0,1fr)}body .ho-promotions .campaign-form511 .campaign-sections511{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:850px){#customer-workspace#customer-workspace#customer-workspace#customer-workspace .ho-cus-search476{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:540px){#customer-workspace#customer-workspace#customer-workspace#customer-workspace .ho-cus-search476{grid-template-columns:minmax(0,1fr)!important}#customer-workspace .customer-badges512 .ho-cus-loyalty-inputs{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

body .ho-promotions .campaign-form511 .campaign-meta514{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;width:100%;align-items:stretch!important}
body .ho-promotions .campaign-meta514>.campaign-common511{height:100%!important;margin:0!important;padding:20px!important;min-width:0!important;box-sizing:border-box}
body .ho-promotions .campaign-meta514 h4{font-size:18px!important;margin:0 0 18px!important;line-height:1.4!important}
body .ho-promotions .campaign-meta514 .ho-promo-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
body .ho-promotions .campaign-meta514 label{display:block!important;margin:0!important;font-size:13px}
@media(max-width:850px){body .ho-promotions .campaign-form511 .campaign-meta514{grid-template-columns:minmax(0,1fr)!important}}

body .ho-promotions .campaign-form511>.campaign-meta514{width:100%!important;max-width:none!important;flex:0 0 auto!important;grid-column:1/-1!important;align-self:stretch!important}
body .ho-promotions .campaign-form511 .campaign-upload511 label:has(>input[type=checkbox]){display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;margin:10px 0!important}
body .ho-promotions .campaign-form511 .campaign-upload511 input[type=checkbox]{width:18px!important;height:18px!important;flex:0 0 18px!important;margin:0!important}
.payment-settings-grid515{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.payment-settings-grid515 fieldset{border:1px solid var(--line,#3c444b);border-radius:12px;padding:18px}.payment-settings-grid515 label{display:flex!important;align-items:center;gap:10px;margin:12px 0!important}.payment-settings-grid515 input[type=checkbox]{width:18px!important;height:18px;flex:0 0 18px;margin:0}.payment-settings515 form{display:block!important}.payment-settings515 .campaign-save504{margin-top:18px}@media(max-width:700px){.payment-settings-grid515{grid-template-columns:1fr}}

body .ho-settings .payment-mode-card516{display:block!important;min-width:0;margin:22px 0 0!important;padding:18px!important;border:1px solid var(--line,#3b484e)!important;border-radius:12px!important;background:var(--field,#1b2428)}
body .ho-settings .payment-mode-card516 legend{font-size:16px;font-weight:650;padding:0 7px}
body .ho-settings .payment-mode-card516 label{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;margin:12px 0!important}
body .ho-settings .payment-mode-card516 input[type=checkbox]{width:18px!important;min-width:18px!important;height:18px!important;flex:0 0 18px!important;margin:0!important;position:static!important;opacity:1!important}
body .ho-settings .payment-mode-help516{font-size:12px;line-height:1.5;color:var(--muted,#aab8bd);margin:16px 0}
body .ho-settings .payment-mode-card516 button{display:block;margin-left:auto;min-width:130px}

body .ho-settings .payment-tiles517{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;grid-column:1/-1;width:100%;margin-top:22px;align-items:stretch}
body .ho-settings .payment-tiles517[hidden]{display:none!important}
body .ho-settings .payment-tiles517>.payment-mode-card516{display:flex!important;flex-direction:column!important;margin:0!important;height:100%;box-sizing:border-box}
body .ho-settings .payment-tiles517>.payment-mode-card516>button{margin-top:auto}
@media(max-width:850px){body .ho-settings .payment-tiles517{grid-template-columns:minmax(0,1fr)}}

body .ho-settings .payment-tiles517>.payment-mode-card516{background:#202b30!important;border:1px solid #3a4a52!important;border-radius:14px!important;padding:24px!important;min-width:0!important}
body .ho-settings .payment-tiles517 .payment-heading518{position:static!important;display:block!important;width:100%!important;margin:0 0 22px!important;padding:0 0 18px!important;border-bottom:1px solid #3a4a52!important;font-size:22px!important;line-height:1.3!important;color:var(--text,#f5f5f5)!important}
body.theme-light .ho-settings .payment-tiles517>.payment-mode-card516{background:#fff!important;border-color:#cbd6df!important}
body.theme-light .ho-settings .payment-tiles517 .payment-heading518{border-color:#cbd6df!important;color:#1f2937!important}

body .ho-settings .payment-tiles517{margin-top:0!important;gap:16px!important}

#customer-workspace#customer-workspace#customer-workspace .customer-badges512>.cl-guide,
#customer-workspace#customer-workspace#customer-workspace .customer-badges512>.ho-loyalty-overview476{margin:0!important;align-self:stretch!important;height:100%!important;box-sizing:border-box!important;min-width:0}

/* Larger, legible loyalty badges in the paired customer panels. */
#customer-workspace#customer-workspace#customer-workspace .customer-badges512 .cl-badge-guide{gap:12px;margin:18px 0}
#customer-workspace#customer-workspace#customer-workspace .customer-badges512 .cl-badge-guide .cl-badge{min-height:48px!important;padding:10px 14px!important;font-size:15px!important;font-weight:700!important;line-height:1.45!important;white-space:normal!important;text-align:center;box-sizing:border-box;border-radius:9px!important;color:#e8edf3!important;background:#28323c!important;border-color:#748596!important}
#customer-workspace#customer-workspace#customer-workspace .customer-badges512 .cl-badge.is-returning{color:#acd5ff!important;background:#20364e!important;border-color:#6098cf!important}
#customer-workspace#customer-workspace#customer-workspace .customer-badges512 .cl-badge.is-regular{color:#a0e8c3!important;background:#1b3c2d!important;border-color:#56a77e!important}
#customer-workspace#customer-workspace#customer-workspace .customer-badges512 .cl-badge.is-vip{color:#ffe197!important;background:#41341c!important;border-color:#c6a04e!important}
#customer-workspace#customer-workspace#customer-workspace .customer-badges512 h4{font-size:20px!important;line-height:1.4!important;margin:0 0 12px!important}
#customer-workspace#customer-workspace#customer-workspace .customer-badges512 .ho-cus-loyalty-inputs label{font-size:14px!important;font-weight:600!important;line-height:1.4}
#customer-workspace#customer-workspace#customer-workspace .customer-badges512 .ho-cus-loyalty-inputs input{font-size:18px!important;font-weight:700!important;height:48px!important}
#customer-workspace#customer-workspace#customer-workspace .customer-badges512 .ho-cus-loyalty-inputs small{font-size:12px!important;font-weight:400!important}
@media(max-width:540px){#customer-workspace#customer-workspace#customer-workspace .customer-badges512 .cl-badge-guide{grid-template-columns:minmax(0,1fr)}}
body.theme-light #customer-workspace#customer-workspace#customer-workspace .customer-badges512 .cl-badge{color:#25384b!important;background:#edf2f6!important;border-color:#8395a7!important}
body.theme-light #customer-workspace#customer-workspace#customer-workspace .customer-badges512 .cl-badge.is-returning{color:#174d83!important;background:#e8f2ff!important;border-color:#6b9bc7!important}
body.theme-light #customer-workspace#customer-workspace#customer-workspace .customer-badges512 .cl-badge.is-regular{color:#176140!important;background:#e6f5ec!important;border-color:#65a482!important}
body.theme-light #customer-workspace#customer-workspace#customer-workspace .customer-badges512 .cl-badge.is-vip{color:#6c4c0c!important;background:#fff3d3!important;border-color:#bc9944!important}

/* Four spaced threshold rows, matching the approved customer badge preview. */
#customer-workspace#customer-workspace#customer-workspace .ho-loyalty-overview476 .ho-cus-loyalty-inputs,
#customer-workspace#customer-workspace#customer-workspace .customer-badges512 .ho-loyalty-overview476 .ho-cus-loyalty-inputs{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;margin:22px 0 26px!important}
#customer-workspace#customer-workspace#customer-workspace .ho-loyalty-overview476 .ho-cus-loyalty-inputs .loyalty-row527{display:flex!important;flex-direction:column!important;gap:10px!important;padding:16px!important;margin:0!important;border:1px solid #657785;border-radius:12px;background:#202a31;box-sizing:border-box;min-width:0;color:#e8edf3}
#customer-workspace#customer-workspace#customer-workspace .loyalty-row527 .loyalty-label527{font-size:16px!important;line-height:1.5;font-weight:700}
#customer-workspace#customer-workspace#customer-workspace .ho-loyalty-overview476 .loyalty-row527 input{width:100%!important;height:46px!important;margin:0!important;box-sizing:border-box;font-size:18px!important;color:var(--text,#f5f7f9)!important}
#customer-workspace#customer-workspace#customer-workspace .ho-loyalty-overview476 .loyalty-row527 small{font-size:13px!important;line-height:1.5!important;font-weight:400!important;color:var(--muted,#bdc8d0)!important;margin:0!important}
#customer-workspace#customer-workspace#customer-workspace .ho-loyalty-overview476 .loyalty-row527.is-returning{border-color:#538ab8;background:#1c2c39;color:#a8d5ff}
#customer-workspace#customer-workspace#customer-workspace .ho-loyalty-overview476 .loyalty-row527.is-regular{border-color:#45876a;background:#1c3027;color:#a0e8c3}
#customer-workspace#customer-workspace#customer-workspace .ho-loyalty-overview476 .loyalty-row527.is-vip{border-color:#ae8a32;background:#342d1f;color:#ffe197}
#customer-workspace#customer-workspace#customer-workspace .ho-loyalty-overview476 .ho-loyalty-actions476{padding-top:20px!important;margin-top:0!important;gap:18px!important}
body.theme-light #customer-workspace#customer-workspace#customer-workspace .ho-loyalty-overview476 .loyalty-row527{background:#edf2f6;color:#25384b;border-color:#8395a7}
body.theme-light #customer-workspace#customer-workspace#customer-workspace .ho-loyalty-overview476 .loyalty-row527.is-returning{background:#e8f2ff;color:#174d83;border-color:#6b9bc7}
body.theme-light #customer-workspace#customer-workspace#customer-workspace .ho-loyalty-overview476 .loyalty-row527.is-regular{background:#e6f5ec;color:#176140;border-color:#65a482}
body.theme-light #customer-workspace#customer-workspace#customer-workspace .ho-loyalty-overview476 .loyalty-row527.is-vip{background:#fff3d3;color:#6c4c0c;border-color:#bc9944}
