.reward-viewbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.reward-viewbar>span{font-size:13px;font-weight:600;color:var(--muted)}.reward-view-switch{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--line);border-radius:12px;background:#fff}.reward-view-switch button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;min-width:96px;padding:8px 14px;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;font-weight:600}.reward-view-switch button[aria-pressed=true]{background:var(--brand-primary,#171b49);color:#fff}.reward-view-switch button .ui-icon{width:17px;height:17px}
.staff-layout .reward-results.reward-grid{background:transparent;border:0;border-radius:0;overflow:visible;box-shadow:none;padding:0}.staff-layout .reward-results.reward-grid .reward-admin-table{display:block;width:100%;min-width:0!important;table-layout:auto}.staff-layout .reward-results.reward-grid thead{display:none}.staff-layout .reward-results.reward-grid tbody{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;width:100%}.staff-layout .reward-results.reward-grid tbody tr{display:flex;flex-direction:column;position:relative;min-width:0;padding:18px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 3px 12px #171b4904;overflow:hidden}.staff-layout .reward-results.reward-grid tbody td{display:block;border:0!important;padding:0!important;width:auto;min-width:0;text-align:left}.staff-layout .reward-results.reward-grid tbody td::before{display:none!important}.staff-layout .reward-results.reward-grid td:first-child{position:absolute;top:28px;left:28px;z-index:1;background:#fff;border-radius:6px}.staff-layout .reward-results.reward-grid td:first-child input{display:block;width:18px;height:18px;margin:0;accent-color:var(--brand-primary,#171b49)}.staff-layout .reward-results.reward-grid td:nth-child(4){position:absolute;right:28px;top:25px;max-width:65%;z-index:1}.staff-layout .reward-results.reward-grid td:nth-child(2){flex:1}.staff-layout .reward-results.reward-grid .table-product{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;min-width:0}.staff-layout .reward-results.reward-grid .table-product>img,.staff-layout .reward-results.reward-grid .table-image-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:180px;max-height:none;max-width:none;padding:25px;background:#f7f8fb;object-fit:contain;border-radius:12px;margin-bottom:18px}.staff-layout .reward-results.reward-grid .table-product>div{min-width:0}.staff-layout .reward-results.reward-grid .table-product strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:15px;line-height:1.45;min-height:44px;margin-bottom:7px;max-width:none;overflow-wrap:anywhere}.staff-layout .reward-results.reward-grid .table-product small{font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;margin:0}.staff-layout .reward-results.reward-grid td:nth-child(3){padding:18px 0!important;min-height:91px}.staff-layout .reward-results.reward-grid td:nth-child(3)>strong{font-size:19px;line-height:1.4;color:var(--brand-primary,#171b49);display:block}.staff-layout .reward-results.reward-grid td:nth-child(3)>small{font-size:11px;line-height:1.5;display:block;margin-top:4px}.staff-layout .reward-results.reward-grid td:last-child{padding-top:16px!important;border-top:1px solid var(--line)!important;margin-top:auto}.staff-layout .reward-results.reward-grid td:last-child .row-action-set{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:100%;justify-content:stretch}.staff-layout .reward-results.reward-grid .row-action-set>.action-button{width:100%;min-width:0;min-height:40px;height:auto;padding:8px 5px;font-size:11px;line-height:1.3;gap:5px;justify-content:center;white-space:normal}.staff-layout .reward-results.reward-grid .row-action-set .ui-icon{width:15px;height:15px;flex:0 0 15px}.staff-layout .reward-results.reward-grid tr:has(.empty){grid-column:1/-1;display:block}.staff-layout .reward-results.reward-grid td.empty{position:static;display:block!important;padding:36px!important;text-align:center;min-height:0;margin:0}
.category-dialog{width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--ink);box-shadow:0 24px 80px #171b4933;overflow:auto}.category-dialog::backdrop{background:#11152d66;backdrop-filter:blur(3px)}.category-dialog>header{display:flex;gap:14px;align-items:center;padding:24px 26px;border-bottom:1px solid var(--line)}.category-dialog-icon{display:grid;place-items:center;width:46px;height:46px;flex:none;background:#eef0f6;color:var(--brand-primary,#171b49);border-radius:13px}.category-dialog .eyebrow{margin:0 0 5px;font-size:9px}.category-dialog h2{font-size:22px;margin:0}.category-dialog .dialog-close{margin-left:auto;flex:none}.category-dialog>form{padding:26px}.category-dialog form>div:not(.category-dialog-actions){margin-bottom:22px}.category-dialog label{display:block;font-size:13px;font-weight:600;margin-bottom:9px}.category-dialog input:not([type=hidden]){width:100%;min-height:46px}.category-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:8px}.category-dialog-actions .btn{min-width:130px;min-height:44px}
@media(min-width:1600px){.staff-layout .reward-results.reward-grid tbody{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1200px){.staff-layout .reward-results.reward-grid tbody{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.staff-layout .reward-results.reward-grid tbody{grid-template-columns:minmax(0,1fr);gap:16px}.staff-layout .reward-results.reward-grid .table-product>img{height:200px}.reward-view-switch button{min-width:86px}.category-dialog>header{padding:20px}.category-dialog>form{padding:20px}.category-dialog-actions .btn{flex:1;min-width:0}.category-dialog h2{font-size:20px}.category-dialog-icon{width:40px;height:40px}}

.staff-layout .reward-results.reward-grid[data-trash="1"] td:last-child .row-action-set{grid-template-columns:repeat(2,minmax(0,1fr))}

.staff-layout .reward-results.reward-grid{display:block!important}
