[data-loyalty-setup]{display:grid;gap:24px;margin:24px 0 40px;color:#171717}.lsu-card{background:#fff;border:1px solid #dfe3e9;border-radius:14px;padding:24px;min-width:0}.lsu-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.lsu-head h2,.lsu-card h3{margin:0 0 8px;font-size:20px;color:#161616}.lsu-card h4{margin:26px 0 14px;font-size:17px}.lsu-head p,.lsu-card>p{margin:0 0 18px;font-size:15px;line-height:1.55;color:#525252}.lsu-table-wrap{width:100%;overflow:auto}.lsu-table{width:100%;border-collapse:collapse;text-align:left;font-size:15px}.lsu-table th,.lsu-table td{padding:14px 12px;vertical-align:middle;border-bottom:1px solid #e7e8eb}.lsu-table th{font-weight:600;color:#171717}.lsu-table thead th{font-size:13px;color:#5d626a;background:#f7f8fa}.lsu-table th:first-child{padding-left:0}.lsu-table td:last-child{text-align:right;white-space:nowrap}.lsu-table small{display:block;margin-top:5px;color:#626262;font-size:13px;font-weight:400;white-space:normal}.lsu-status{display:inline-flex;font-size:12px;font-weight:600;background:#f0f1f3;color:#585e65;border-radius:20px;padding:4px 9px}.lsu-status.is-live{background:#edf6f0;color:#246543}.lsu-details{margin-top:18px;font-size:15px}.lsu-details summary{cursor:pointer;font-weight:600;padding:8px 0}.lsu-details>p{color:#626262;font-size:14px;line-height:1.5}.lsu-rule-choices{display:grid;gap:12px}.lsu-choice{padding:16px;border:1px solid #dfe3e9;border-radius:10px}.lsu-choice>label{display:flex;align-items:flex-start;gap:12px}.lsu-choice strong{font-size:16px}.lsu-choice small{display:block;color:#5d626a;font-size:14px;line-height:1.5;margin-top:4px}.lsu-choice input,.lsu-ack input,.lsu-table input{width:18px;height:18px;accent-color:#3167b9;flex:0 0 auto;margin-top:2px}.lsu-ack{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5;margin:18px 0 0;color:#30343a}.lsu-choice .lsu-ack{margin-left:30px}.lsu-fields{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px;margin:24px 0 18px}.lsu-fields label{display:grid;align-content:start;gap:9px;font-size:14px;font-weight:600}.lsu-fields input,.lsu-fields textarea{font:inherit;font-weight:400;color:#181818;width:100%;box-sizing:border-box;border:1px solid #d7dce3;border-radius:8px;padding:10px 12px;background:#fff}.lsu-note{font-size:13px!important;line-height:1.6;color:#626262!important;margin:20px 0!important}.lsu-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;border-top:1px solid #e4e7ec;padding-top:20px;margin-top:24px}.lsu-actions>span{font-size:13px;color:#626262;margin-right:auto}.lsu-error,.lsu-pending{border:1px solid #e4c4b8;border-radius:9px;background:#fff7f3;padding:14px 16px;font-size:14px;line-height:1.5}.lsu-error{color:#8b3622}.lsu-receipt{margin-top:18px!important;color:#246543!important}.lsu-modal{border:1px solid #dfe3e9;border-radius:16px;padding:24px;max-width:850px;width:calc(100vw - 64px);max-height:calc(100vh - 64px);box-sizing:border-box;color:#181818}.lsu-modal::backdrop{background:rgba(20,27,39,.4)}.lsu-modal-body{max-height:calc(100vh - 250px);overflow:auto;padding-right:8px}.lsu-modal .lsu-table{font-size:14px}.lsu-modal .lsu-head{align-items:center}.lsu-modal h2{margin:0;font-size:21px}.lsu-modal h3{font-size:17px;margin:24px 0 12px}.lsu-modal p{line-height:1.55}.lsu-modal .lsu-actions{margin-top:16px}@media(max-width:700px){.lsu-card{padding:18px}.lsu-head{flex-direction:column}.lsu-fields{grid-template-columns:1fr}.lsu-actions{flex-wrap:wrap}.lsu-actions>span{width:100%}.lsu-table{font-size:14px}.lsu-modal{width:calc(100vw - 24px);padding:18px;max-height:calc(100vh - 24px)}}
.lsu-unresolved{margin-top:22px;padding:16px 18px;background:#fffbf2;border:1px solid #e9dbb8;border-radius:10px;font-size:14px;line-height:1.6}.lsu-unresolved ul{padding-left:20px;margin:8px 0}.lsu-unresolved p{margin:10px 0 0;color:#65605a}

.settings-reference [data-loyalty-invalid="true"]{border-color:#c53030!important;outline:1px solid #c53030;outline-offset:0}
.settings-reference #loyalty-editor .loyalty-field-error,.settings-reference .loyalty-field-error{display:block!important;margin-top:6px;color:#a92323!important;font:500 13px/1.45 var(--sans,Arial,sans-serif);white-space:normal}
.settings-reference [data-loyalty-save-status][data-state="error"]{padding:12px 14px;border:1px solid #d89494;border-radius:7px;background:#fff5f5;color:#922323;font-size:14px;line-height:1.5}
.loyalty-save-warning{box-sizing:border-box;width:min(480px,calc(100vw - 32px));padding:24px;border:1px solid #d9e1e9;border-radius:12px;color:#243746;font:14px/1.6 Arial,sans-serif;box-shadow:0 20px 80px #12283e33}
.loyalty-save-warning::backdrop{background:#12283e70;backdrop-filter:blur(3px)}
.loyalty-save-warning h2{margin:0 0 12px;font-size:20px}.loyalty-save-warning p{margin:0 0 14px}.loyalty-save-warning footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:20px}

.settings-reference #loyalty-editor .ts-benefits-editor {container-type:inline-size;min-width:0;color:#252d28}
.settings-reference #loyalty-editor .ts-benefits-editor .ts-table-heading {margin:0 0 16px}
.settings-reference #loyalty-editor .ts-benefits-editor .ts-table-heading h3 {margin:0;font-size:22px;letter-spacing:-.025em}
.settings-reference #loyalty-editor .ts-benefits-editor .ts-table-heading>.btn {
 min-height:40px;border-color:#27342d;background:#27342d;color:#fff
}
.ts-tier-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(max(min(100%,184px),calc((100% - 42px)/4)),1fr));gap:8px 14px}
.ts-tier-column {display:grid;min-width:0;grid-row:span 7;grid-template-rows:subgrid;row-gap:8px}
.ts-tier-column .ts-card-preview,.ts-tier-editor-dialog .ts-card-preview {container-type:inline-size;min-width:0}
.settings-reference #loyalty-editor .ts-tier-column :is(.ts-edit-card,.ts-tier-requirement) {
 width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;
 padding:10px 11px;border-radius:7px;line-height:1.35;min-width:0
}
.settings-reference #loyalty-editor .ts-tier-column .ts-edit-card {justify-content:flex-start;min-height:38px;font-weight:600;color:#29382f;border-color:#dfe3db;background:#fff}
.settings-reference #loyalty-editor .ts-tier-column .ts-tier-requirement {
 align-items:center;min-height:69px;color:#29382f;overflow-wrap:anywhere;white-space:normal
}
.ts-tier-requirement strong,.ts-tier-requirement small {display:block}
.ts-tier-requirement small {color:#56665c;font-size:12px;font-weight:500;margin-top:3px}
.ts-tier-column svg {width:19px;height:19px;flex:none}
.settings-reference #loyalty-editor .ts-benefit-row {
 min-width:0;border:1px solid #dfe3db;border-radius:7px;padding:9px 11px;background:#fff;overflow-wrap:anywhere
}
.settings-reference #loyalty-editor .ts-benefit-row h4 {margin:0 0 3px;color:#4a5950;font-size:12px;font-weight:550;line-height:1.4}
.ts-benefit-value {display:flex;align-items:center;justify-content:space-between;gap:5px;line-height:1.35;min-height:26px}
.ts-benefit-value+.ts-benefit-value {margin-top:4px;padding-top:4px;border-top:1px solid #ecede8}
.ts-benefit-value strong,.ts-benefit-value small {display:block}
.ts-benefit-value strong {font-size:16px;letter-spacing:-.02em}
.ts-benefit-value small {font-size:11px;color:#5a675e;font-weight:500}
.settings-reference #loyalty-editor .ts-benefit-row :is(.ts-edit-benefit,.ts-add-benefit) {
 padding:3px 6px;border:0;background:transparent;color:#34463b;min-height:30px;font-size:13px
}
.settings-reference #loyalty-editor .ts-benefit-row .ts-edit-benefit {padding:4px;min-width:32px;flex:none}
.settings-reference #loyalty-editor .ts-benefit-row :is(.ts-edit-benefit,.ts-add-benefit):hover {background:#eef2eb}
.ts-unconfigured {margin:3px 0;color:#647168;font-size:12px}
.settings-reference #loyalty-editor .ts-extra-settings {margin-top:11px;border:1px solid #dfe3db;border-radius:8px;background:#fff;min-width:0}
.ts-tier-grid+.ts-extra-settings {margin-top:17px}
.ts-extra-settings>summary {
 display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;padding:9px 13px;color:#28342e;font-weight:650
}
.ts-extra-settings>summary::after {content:'+';margin-left:auto;font-size:18px;font-weight:400}
.ts-extra-settings[open]>summary::after {content:'−'}
.ts-extra-settings>summary small {font-size:12px;font-weight:500;color:#57675c}
.ts-details-body {padding:0 13px 13px;min-width:0}
.ts-order-heading,.ts-edit-colours {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ts-order-heading {justify-content:space-between}
.ts-tier-order {padding:12px 0;border-top:1px solid #e6e8e2}
.ts-tier-order h4,.ts-tier-promotions h5 {margin:0;font-size:14px}
.ts-tier-promotions {margin-top:13px}
.ts-tier-editor-dialog .ts-qualification-fields {grid-template-columns:minmax(0,1fr)}
.ts-tier-editor-dialog .ts-edit-colours label {flex:1;min-width:90px}
.ts-tier-editor-dialog .ts-edit-colours input {height:43px;padding:3px}
.ts-palette-list {margin:0 0 16px;border:0;padding:0;display:flex;gap:6px;flex-wrap:wrap}
.ts-palette-list legend {font-weight:600;margin-bottom:8px}
.ts-tier-editor-dialog .ts-palette {display:inline-flex;gap:5px;align-items:center;min-height:34px;padding:5px 7px}
.ts-tier-editor-dialog .ts-palette[aria-pressed="true"] {background:#edf1eb;outline:1px solid #34483b}
.ts-palette i {width:12px;height:12px;border-radius:50%;border:1px solid #223229;background:linear-gradient(130deg,var(--ts-swatch) 50%,var(--ts-swatch-ink) 50%)}
@container (max-width:420px) {
 .ts-tier-grid {grid-template-columns:minmax(0,1fr);row-gap:12px}
 .ts-tier-column {row-gap:6px}
}
