/* SyokBox V2.13 additions only. Original V2.12 CSS remains untouched. */
.fixed-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.fixed-choice-grid .reward-choice{min-width:0!important}
.v213-customer-card{padding:10px 13px!important}
.v213-customer-copy{width:calc(100% - 29px);gap:2px!important}
.v213-customer-copy>strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v213-customer-meta{display:grid!important;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:0!important;width:100%;min-width:0;font-size:11.5px!important;color:#74819a!important;white-space:nowrap}
.v213-customer-meta>span{display:block;min-width:0;padding:0 8px;border-left:1px solid #cbd3df;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v213-customer-meta>span:first-child{padding-left:0;border-left:0;color:#52617a}
.v213-customer-meta b{color:#254cc4;font-weight:700}
.v213-partner-wrap{margin:0}
.v213-partner-heading{margin-top:24px!important}
.v213-partner-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:5px 0 0}
.v213-partner-card{display:flex;min-width:0;min-height:64px;align-items:center;justify-content:center;padding:8px 3px;border:1px solid #edf0f6;background:#fff;border-radius:10px;text-align:center;box-shadow:none}
.v213-partner-row-expanded{grid-template-columns:repeat(4,minmax(0,1fr))}
.v213-partner-logo{display:flex;width:100%;height:27px;align-items:center;justify-content:center;overflow:hidden;font-weight:800;line-height:1}
.v213-syokbox-logo img{display:block;width:auto!important;height:auto!important;max-width:94%!important;max-height:25px!important;object-fit:contain!important}
.v213-tealive{color:#7044a0;font-size:17px;font-weight:700;letter-spacing:-.5px}
.v213-speedmart{flex-direction:column;color:#f36b21;font-size:19px;font-weight:900}.v213-speedmart span{font-size:7px;text-transform:uppercase}
.v213-mrdiy{color:#d7222a;font-size:13px;font-weight:900}
.v213-kfc{color:#d92128;font-size:16px;font-weight:900}
.v213-familymart{flex-direction:column;gap:0;font-size:9px;font-weight:800}.v213-familymart b{color:#169447}.v213-familymart span{color:#1a67b2}
.v213-starbucks{width:28px;height:28px;border:2px solid #087a48;border-radius:50%;color:#087a48;font-size:16px}
.v213-grab{color:#00a651;font-size:16px;font-weight:700}
.v213-metric-help{display:inline-flex;width:14px;height:14px;margin-left:3px;padding:0;align-items:center;justify-content:center;border:0;background:transparent;color:#74819a;vertical-align:-3px}.v213-metric-help .sb-icon{width:14px;height:14px}
.v213-partner-modal,.v213-partner-all-modal{position:relative}.v213-partner-brand{margin:0 0 5px;color:#74819a;font-size:12px;font-weight:700}.v213-partner-modal h2{margin:0 0 6px;color:#172a5e}.v213-allocation-row{display:flex;justify-content:space-between;gap:12px;margin:15px 0;padding:11px 12px;background:#f6f8fc;border-radius:10px;color:#74819a;font-size:11px}.v213-allocation-row strong{color:#172a5e}.v213-partner-all-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.v213-partner-all-item{display:flex;min-width:0;flex-direction:column;gap:3px;padding:11px;border:1px solid #e8edf5;background:#fff;border-radius:10px;text-align:left}.v213-partner-all-item strong{overflow:hidden;color:#172a5e;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.v213-partner-all-item span{color:#74819a;font-size:10px}
@media(max-width:360px){.v213-customer-meta{font-size:10.5px!important}.v213-customer-meta>span{padding:0 5px}.v213-partner-row{gap:4px}.v213-partner-card{padding-left:2px;padding-right:2px}.v213-tealive{font-size:15px}.v213-mrdiy{font-size:11px}}

/* V2.14 locked UI updates */
.v214-partner-bottom-sheet{width:min(100%,570px);position:relative;padding:22px;border-radius:24px 24px 0 0!important}
.v214-performance-info{padding:0;border:0;background:transparent;color:#74819a;font-size:16px;vertical-align:2px}
.home-custom-dates{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;margin:8px 0 12px!important}
.home-custom-dates input{box-sizing:border-box!important;height:44px!important;padding:0 10px!important;border:1px solid #dce3ef!important;border-radius:11px!important;background:#fff!important;font-size:12px!important}
.v214-activity-view{display:block;margin:9px 2px 0 auto;border:0;background:transparent}
@media(max-width:480px){.v214-partner-bottom-sheet{width:100%;padding-bottom:max(22px,env(safe-area-inset-bottom))}}

/* V2.16 Customer Database */
.v216-customer-meta{grid-template-columns:auto auto minmax(0,1fr)!important}
.v216-customer-meta .v216-rewards b{color:#254cc4;font-weight:700}
.v216-customer-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0 16px}
.v216-customer-summary>div{display:flex;min-width:0;flex-direction:column;gap:4px;padding:10px 11px;border:1px solid #e6ebf3;border-radius:11px;background:#fafbfe}
.v216-customer-summary>div:last-child{grid-column:1/-1}
.v216-customer-summary span{color:#74819a;font-size:10px}
.v216-customer-summary strong{color:#172a5e;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v216-detail-section{margin-top:14px}
.v216-detail-section h3{margin:0 0 6px;color:#172a5e;font-size:13px}
.v216-empty-detail{padding:11px 0;border-top:1px solid #edf0f6;color:#8a95a9;font-size:11px}
.v216-customer-details .customer-history-row>div>span+span{margin-top:1px}

/* V2.17 consolidated locked adjustments */
.v216-customer-meta .v216-rewards b{color:#254cc4!important}.v216-customer-details .v216-customer-summary>div:last-child strong{color:#52617a;font-weight:600}
.home-custom-dates{display:grid!important}.home-custom-dates[hidden]{display:none!important}
.v214-performance-info{font-size:15px!important}
#download .sb-icon{width:18px;height:18px}
