.promotion-page{background-color:var(--bg-soft-blue,#f0fdfa);width:100%;font-family:var(--font-sans,"Be Vietnam Pro", sans-serif);box-sizing:border-box;min-height:calc(100vh - 70px);padding:8px 16px 40px}.promotion-topbar{border-bottom:1px solid var(--blue-border,#99f6e4);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;padding-bottom:16px;display:flex}.promotion-topbar-title{align-items:center;gap:14px;display:flex}.promotion-topbar-icon{border-radius:var(--radius-sm,14px);background:var(--blue-primary,#0f766e);color:#fff;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;display:flex;box-shadow:0 4px 14px #0f766e47}.promotion-topbar-text h1{color:var(--text-main,#111827);letter-spacing:-.02em;align-items:center;gap:10px;margin:0;font-size:1.5rem;font-weight:800;display:flex}.promotion-topbar-text p{color:var(--text-muted,#4b5563);margin:4px 0 0;font-size:.85rem;font-weight:500}.promotion-topbar-actions{align-items:center;gap:10px;display:flex}.btn-primary-pill{background:var(--blue-primary,#0f766e);color:#fff;border-radius:var(--radius-pill,9999px);cursor:pointer;white-space:nowrap;border:none;align-items:center;gap:8px;padding:9px 20px;font-size:.84rem;font-weight:600;text-decoration:none;transition:all .2s cubic-bezier(.16,1,.3,1);display:inline-flex;box-shadow:0 4px 14px #0f766e47}.btn-primary-pill:hover{background:var(--blue-hover,#115e59);transform:translateY(-1px);box-shadow:0 6px 18px #0f766e59}.btn-secondary-pill{color:var(--text-muted,#4b5563);border-radius:var(--radius-pill,9999px);cursor:pointer;border:1px solid var(--border-subtle,#e5edf8);white-space:nowrap;background:#fff;align-items:center;gap:6px;padding:8px 16px;font-size:.82rem;font-weight:600;transition:all .2s;display:inline-flex}.btn-secondary-pill:hover{background:var(--blue-subtle,#ccfbf1);color:var(--blue-primary,#0f766e);border-color:var(--blue-border,#99f6e4)}.promotion-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:24px;display:grid}.promotion-kpi-card{background:#fff;border:1px solid #0f766e1f;border-radius:18px;justify-content:space-between;align-items:flex-start;padding:18px 20px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 3px 12px #00000008}.promotion-kpi-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0f766e14}.promotion-kpi-info h4{text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted,#64748b);margin:0 0 8px;font-size:.8rem;font-weight:600}.promotion-kpi-val{color:var(--text-main,#0f172a);margin:0;font-size:1.6rem;font-weight:800;line-height:1.1}.promotion-kpi-sub{color:var(--text-muted,#64748b);align-items:center;gap:4px;margin-top:6px;font-size:.78rem;display:flex}.promotion-kpi-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.kpi-icon-teal{color:#0f766e;background:#e6fffa}.kpi-icon-blue{color:#2563eb;background:#eff6ff}.kpi-icon-amber{color:#d97706;background:#fffbeb}.kpi-icon-purple{color:#9333ea;background:#faf5ff}.promotion-filter-bar{background:#fff;border:1px solid #0f766e1f;border-radius:18px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;padding:14px 18px;display:flex;box-shadow:0 2px 8px #00000008}.promotion-filter-left{flex-wrap:wrap;flex:1;align-items:center;gap:12px;display:flex}.promotion-search-box{flex:1;min-width:260px;max-width:380px;position:relative}.promotion-search-icon{color:#94a3b8;pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.promotion-search-input{border-radius:var(--radius-pill,9999px);box-sizing:border-box;background:#f8fafc;border:1px solid #cbd5e1;outline:none;width:100%;padding:9px 34px 9px 36px;font-family:inherit;font-size:.85rem;transition:all .2s}.promotion-search-input:focus{border-color:var(--blue-primary,#0f766e);background:#fff;box-shadow:0 0 0 3px #0f766e1f}.promotion-clear-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:50%;align-items:center;padding:3px;display:flex;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.promotion-clear-btn:hover{color:#475569;background:#e2e8f0}.promotion-select{border-radius:var(--radius-pill,9999px);color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;outline:none;padding:9px 14px;font-family:inherit;font-size:.84rem;transition:all .2s}.promotion-select:focus{border-color:var(--blue-primary,#0f766e);background:#fff;box-shadow:0 0 0 3px #0f766e1f}.promotion-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:24px;overflow:hidden;box-shadow:0 1px 3px #0000000d}.promotion-card-header{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.promotion-card-title{color:#1e293b;align-items:center;gap:8px;margin:0;font-size:1rem;font-weight:700;display:flex}.table-responsive{width:100%;overflow-x:auto}.promotion-table{border-collapse:separate;border-spacing:0;text-align:left;width:100%;font-size:12.5px}.promotion-table th{color:#334155;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #cbd5e1;padding:10px 12px;font-size:12px;font-weight:700}.promotion-table td{color:#1e293b;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:8px 12px;font-size:12.5px}.promotion-table tbody tr:hover{background-color:#f8fafc}.promotion-table tbody tr.row-expanded{background-color:#f0fdfa}.promo-code-text{font-family:var(--font-mono,monospace);color:#1e293b;white-space:nowrap;letter-spacing:.02em;font-size:.85rem;font-weight:700}.promo-title-box{flex-direction:column;gap:2px;display:flex}.promo-title-main{color:#0f172a;font-size:.88rem;font-weight:600}.promo-title-sub{color:#64748b;white-space:normal;max-width:260px;font-size:.76rem;line-height:1.35}.promo-date-badge{white-space:nowrap;color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:6px;padding:4px 10px;font-size:.82rem;display:inline-flex}.promo-date-text{font-family:var(--font-mono,monospace);white-space:nowrap;font-size:.78rem;font-weight:500}.promo-date-arrow{color:#94a3b8;font-size:.8rem}.badge-type{border-radius:var(--radius-pill,9999px);white-space:nowrap;border:1px solid #0000;align-items:center;gap:6px;padding:5px 12px;font-size:.78rem;font-weight:600;display:inline-flex}.badge-type-order{color:#065f46;background:#ecfdf5;border-color:#a7f3d0}.badge-type-gift{color:#92400e;background:#fef3c7;border-color:#fde68a}.badge-type-product{color:#3730a3;background:#eef2ff;border-color:#c7d2fe}.badge-status{border-radius:var(--radius-pill,9999px);white-space:nowrap;align-items:center;gap:5px;padding:4px 12px;font-size:.76rem;font-weight:700;display:inline-flex}.badge-active{background:var(--blue-subtle,#ccfbf1);color:var(--blue-primary,#0f766e);border:1px solid var(--blue-border,#99f6e4)}.badge-upcoming{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe}.badge-paused{background:var(--orange-light,#fff8eb);color:#b45309;border:1px solid var(--orange-border,#ffe8cc)}.badge-expired{background:var(--red-light,#fff0f0);color:var(--red-accent,#ff3b30);border:1px solid var(--red-border,#ffd6d6)}.badge-pill-neutral{color:#475569;background:#f1f5f9;border:1px solid #e2e8f0}.promo-branch-cell{color:#334155;align-items:center;gap:6px;max-width:165px;font-size:.8rem;display:inline-flex;overflow:hidden}.promo-branch-icon{color:#94a3b8;flex-shrink:0}.promo-branch-all{color:var(--blue-primary,#0f766e);background:var(--blue-subtle,#ccfbf1);white-space:nowrap;border-radius:6px;flex-shrink:0;padding:3px 8px;font-size:.78rem;font-weight:600}.promo-branch-single{text-overflow:ellipsis;white-space:nowrap;color:#334155;max-width:140px;font-weight:500;display:inline-block;overflow:hidden}.promo-branch-multi{align-items:center;gap:4px;max-width:145px;display:inline-flex;overflow:hidden}.promo-branch-first{text-overflow:ellipsis;white-space:nowrap;color:#334155;max-width:95px;font-weight:500;display:inline-block;overflow:hidden}.promo-branch-count{color:#0f766e;white-space:nowrap;background:#e6fffa;border:1px solid #b2f5ea;border-radius:9999px;flex-shrink:0;padding:1px 5px;font-size:.72rem;font-weight:700}.promo-usage-cell{white-space:nowrap;flex-direction:column;gap:2px;display:flex}.promo-usage-count{color:#0f172a;font-size:.9rem;font-weight:700}.promo-usage-discount{color:var(--blue-primary,#0f766e);font-size:.74rem;font-weight:600}.promo-status-cell{white-space:nowrap;align-items:center;gap:10px;display:flex}.table-actions{white-space:nowrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.btn-table-icon{color:#64748b;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .15s;display:inline-flex}.btn-table-icon:hover{color:var(--blue-primary,#0f766e);background:#f1f5f9;border-color:#cbd5e1}.btn-table-icon.btn-danger-icon:hover{color:#dc2626;background:#fee2e2;border-color:#fca5a5}.voucher-discount-tag{white-space:nowrap;align-items:center;gap:6px;font-size:.86rem;font-weight:700;display:inline-flex}.voucher-discount-tag.tag-fixed{color:#1d4ed8}.voucher-discount-tag.tag-percent{color:#0f766e}.voucher-conditions{color:#475569;white-space:nowrap;font-size:.8rem;line-height:1.4}.voucher-conditions strong{color:#0f172a}.voucher-usage-container{flex-direction:column;gap:4px;min-width:110px;display:flex}.voucher-usage-text{color:#334155;white-space:nowrap;justify-content:space-between;align-items:center;font-size:.78rem;font-weight:600;display:flex}.voucher-progress-track{border-radius:var(--radius-pill,9999px);background-color:#e2e8f0;width:100%;height:6px;overflow:hidden}.voucher-progress-fill{background-color:var(--blue-primary,#0f766e);border-radius:var(--radius-pill,9999px);height:100%;transition:width .3s}.accordion-wrapper{background:#f8fafc;border-bottom:2px solid #e2e8f0;padding:16px 20px 20px}.accordion-title{color:#0f766e;align-items:center;gap:8px;margin-bottom:12px;font-size:.9rem;font-weight:700;display:flex}.tier-cards-container{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;max-height:290px;padding:4px 6px 6px 2px;display:grid;overflow-y:auto}.tier-cards-container::-webkit-scrollbar{width:6px;height:6px}.tier-cards-container::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.tier-cards-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.tier-cards-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.tier-card-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px 16px;box-shadow:0 2px 6px #00000005}.tier-card-header{border-bottom:1px dashed #e2e8f0;justify-content:space-between;align-items:center;margin-bottom:8px;padding-bottom:6px;display:flex}.tier-badge-number{color:#fff;background:#0f766e;border-radius:10px;padding:2px 8px;font-size:.72rem;font-weight:700}.tier-detail-lines{color:#475569;flex-direction:column;gap:5px;font-size:.8rem;display:flex}.tier-gift-box{color:#047857;background:#ecfdf5;border-radius:6px;align-items:center;gap:5px;margin-top:4px;padding:4px 8px;font-size:.8rem;font-weight:600;display:flex}.voucher-codes-table-container{background:#fff;border:1px solid #e2e8f0;border-radius:12px;max-height:310px;overflow:auto;box-shadow:0 1px 3px #00000008}.voucher-codes-table-container::-webkit-scrollbar{width:6px;height:6px}.voucher-codes-table-container::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.voucher-codes-table-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.voucher-codes-table-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.voucher-codes-sticky-header{z-index:5;background:#f8fafc;position:sticky;top:0}.voucher-codes-sticky-header th{color:#475569;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;border-bottom:1px solid #e2e8f0;padding:10px 14px;font-size:.76rem;font-weight:700;background:#f8fafc!important}.switch-container{cursor:pointer;align-items:center;gap:8px;display:inline-flex}.switch-track{background-color:#cbd5e1;border-radius:10px;flex-shrink:0;width:38px;height:20px;transition:background-color .25s;position:relative}.switch-track.switch-active{background-color:#0f766e}.switch-thumb{background-color:#fff;border-radius:50%;width:14px;height:14px;transition:transform .25s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.switch-track.switch-active .switch-thumb{transform:translate(18px)}.promo-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1050;background:#0f172a8c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.promo-modal-dialog{background:#fff;border-radius:24px;flex-direction:column;width:100%;max-width:680px;max-height:90vh;animation:.2s ease-out modalFadeIn;display:flex;overflow:hidden;box-shadow:0 20px 45px #0003}.promo-modal-dialog-lg{max-width:860px}@keyframes modalFadeIn{0%{opacity:0;transform:scale(.96)translateY(10px)}to{opacity:1;transform:scale(1)translateY(0)}}.promo-modal-header{background:#fafbfc;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:18px 24px;display:flex}.promo-modal-header h3{color:#0f172a;align-items:center;gap:10px;margin:0;font-size:1.15rem;font-weight:700;display:flex}.promo-modal-close{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;padding:6px;display:flex}.promo-modal-close:hover{color:#0f172a;background:#f1f5f9}.promo-modal-body{flex:1;padding:22px 24px;overflow-y:auto}.promo-modal-footer{background:#f8fafc;border-top:1px solid #e2e8f0;justify-content:flex-end;align-items:center;gap:12px;padding:16px 24px;display:flex}.form-group{margin-bottom:18px}.form-label{color:#334155;margin-bottom:6px;font-size:.84rem;font-weight:600;display:block}.form-label-required:after{content:" *";color:#ef4444}.form-input,.form-textarea,.form-select-control{color:#1e293b;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:12px;outline:none;width:100%;padding:10px 14px;font-family:inherit;font-size:.86rem;transition:all .2s}.form-input:focus,.form-textarea:focus,.form-select-control:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1f}.form-grid-2{grid-template-columns:1fr 1fr;gap:16px;display:grid}.form-grid-3{grid-template-columns:1fr 1fr 1fr;gap:14px;display:grid}.loyalty-page-wrapper{box-sizing:border-box;width:100%;max-width:1440px;margin:0 auto}.loyalty-header-action-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.loyalty-nav-tabs{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:9999px;align-items:center;gap:6px;padding:5px;display:inline-flex}.loyalty-nav-tab-btn{color:#475569;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:9999px;align-items:center;gap:8px;padding:9px 22px;font-family:inherit;font-size:.92rem;font-weight:600;transition:all .18s;display:inline-flex}.loyalty-nav-tab-btn:hover{color:#0f766e;background:#ffffffb3}.loyalty-nav-tab-btn.active{color:#0f766e;background:#fff;font-weight:700;box-shadow:0 2px 10px #0f766e26}.loyalty-tab-count{color:#0f766e;background:#ccfbf1;border-radius:9999px;padding:2px 8px;font-size:.78rem;font-weight:700}.loyalty-header-right-actions{align-items:center;gap:14px;display:flex}.loyalty-switch-pill{cursor:pointer;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #cbd5e1;border-radius:9999px;align-items:center;gap:10px;padding:7px 18px;transition:all .15s;display:inline-flex}.loyalty-switch-pill.active{color:#0f766e;background:#f0fdfa;border-color:#99f6e4}.loyalty-switch-pill.inactive{color:#64748b;background:#f8fafc;border-color:#e2e8f0}.loyalty-switch-status-text{white-space:nowrap;font-size:.88rem;font-weight:700}.switch-track-sm{background:#cbd5e1;border-radius:9999px;width:38px;height:22px;transition:all .2s;position:relative}.switch-thumb-sm{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.switch-track-sm.switch-active{background:#0f766e}.switch-track-sm.switch-active .switch-thumb-sm{transform:translate(16px)}.loyalty-save-btn-top{white-space:nowrap;align-items:center;gap:8px;padding:9px 22px;font-size:.9rem;font-weight:600;display:inline-flex;box-shadow:0 3px 12px #0f766e38}.loyalty-disabled-notice{color:#be123c;background:#fff1f2;border:1px solid #fecdd3;border-radius:12px;align-items:center;gap:12px;padding:12px 18px;font-size:.88rem;line-height:1.5;display:flex}.loyalty-config-container{box-sizing:border-box;flex-direction:column;gap:16px;width:100%;display:flex}.loyalty-card{flex-direction:column;height:100%;display:flex}.loyalty-card .loyalty-card-body{flex-direction:column;flex:1;justify-content:space-between;padding:16px 20px;display:flex}.loyalty-card-header-compact{background:#fafbfc;border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;display:flex}.loyalty-card-title{color:#0f172a;align-items:center;gap:8px;margin:0;font-size:.96rem;font-weight:700;display:flex}.loyalty-card-subtitle{color:#64748b;margin-top:2px;margin-bottom:0;font-size:.8rem;font-weight:400;line-height:1.4}.loyalty-rules-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.loyalty-fields-2col{grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px;display:grid}.loyalty-rule-field{flex-direction:column;gap:4px;min-width:0;display:flex}.loyalty-rule-label{color:#1e293b;white-space:normal;word-break:break-word;margin-bottom:2px;font-size:.82rem;font-weight:600;line-height:1.35}.loyalty-rule-hint{color:#64748b;margin-top:3px;font-size:.72rem;line-height:1.35}.loyalty-example-box{color:#134e4a;box-sizing:border-box;background:#f0fdfa;border:1px solid #ccfbf1;border-radius:8px;align-items:center;gap:8px;min-height:46px;padding:9px 12px;font-size:.78rem;line-height:1.4;display:flex}.loyalty-example-box .example-box-icon{color:#0f766e;flex-shrink:0}.loyalty-checkbox-box{box-sizing:border-box;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;min-height:46px;padding:9px 12px;display:flex}.loyalty-checkbox-label{color:#334155;cursor:pointer;align-items:center;gap:10px;font-size:.82rem;font-weight:500;line-height:1.4;display:flex}.loyalty-custom-checkbox{accent-color:#0f766e;cursor:pointer;flex-shrink:0;width:17px;height:17px}.loyalty-input-wrapper{box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;width:100%;min-height:38px;transition:border-color .15s,box-shadow .15s;display:inline-flex;overflow:hidden}.loyalty-input-wrapper:focus-within{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e24}.loyalty-input-field{color:#0f172a;background:0 0;border:none;outline:none;flex:1;min-width:0;padding:7px 11px;font-family:inherit;font-size:.9rem;font-weight:700}.loyalty-input-field:disabled{color:#94a3b8;background:#f8fafc}.loyalty-input-addon{color:#64748b;white-space:nowrap;-webkit-user-select:none;user-select:none;background:#f8fafc;border-left:1px solid #e2e8f0;padding:7px 11px;font-size:.78rem;font-weight:600}.loyalty-tiers-table{border-collapse:collapse;width:100%;min-width:680px}.loyalty-tiers-table th{color:#475569;text-align:left;text-transform:uppercase;letter-spacing:.03em;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:10px 18px;font-size:.78rem;font-weight:700}.loyalty-tiers-table td{vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:11px 18px}.tier-default-spending{flex-direction:column;gap:2px;display:flex}.loyalty-tier-badge{white-space:nowrap;border-radius:7px;align-items:center;gap:7px;padding:5px 12px;font-size:.84rem;font-weight:700;display:inline-flex}.loyalty-tier-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.tier-benefits-desc{color:#475569;font-size:.84rem;font-weight:400;line-height:1.45}@media (width<=1199px) and (width>=769px){.loyalty-fields-2col{grid-template-columns:1fr;gap:10px;margin-bottom:12px}}@media (width<=768px){.loyalty-header-action-bar{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:16px}.loyalty-nav-tabs{box-sizing:border-box;justify-content:space-between;width:100%;padding:3px;display:flex}.loyalty-nav-tab-btn{flex:1;justify-content:center;gap:6px;padding:8px 12px;font-size:.82rem}.loyalty-header-right-actions{justify-content:space-between;gap:10px;width:100%;display:flex}.loyalty-switch-pill{flex:1;justify-content:center;padding:7px 12px}.loyalty-save-btn-top{flex:1;justify-content:center;padding:8px 14px;font-size:.84rem}.loyalty-rules-grid{grid-template-columns:1fr;gap:14px}.loyalty-fields-2col{grid-template-columns:1fr;gap:10px;margin-bottom:12px}.loyalty-example-box,.loyalty-checkbox-box{min-height:auto;padding:10px 14px}}@media (width<=480px){.loyalty-nav-tab-btn{padding:7px 8px;font-size:.76rem}.loyalty-nav-tab-btn span{font-size:.76rem}.loyalty-switch-status-text{font-size:.78rem}.loyalty-save-btn-top{padding:7px 12px;font-size:.8rem}.loyalty-card .loyalty-card-body{padding:14px}.loyalty-card-header-compact{padding:10px 14px}}.ledger-filter-row{background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;display:flex}.ledger-search-box{flex:1;min-width:180px;max-width:320px;position:relative}.ledger-search-icon{color:#94a3b8;pointer-events:none;width:15px;height:15px;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.ledger-search-input{border-radius:var(--radius-pill,9999px);box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;outline:none;width:100%;padding:7px 30px 7px 34px;font-family:inherit;font-size:.82rem}.ledger-search-input:focus{border-color:var(--blue-primary,#0f766e);box-shadow:0 0 0 3px #0f766e1a}.ledger-search-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;align-items:center;padding:2px;display:flex;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.ledger-type-select{border-radius:var(--radius-pill,9999px);color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;outline:none;padding:7px 14px;font-family:inherit;font-size:.8rem}.ledger-code-text{font-family:var(--font-mono,monospace);white-space:nowrap;color:#334155;font-size:.78rem;font-weight:600}.ledger-customer-cell{white-space:nowrap;line-height:1.35}.ledger-customer-name{color:#0f172a;font-size:.82rem;font-weight:600}.ledger-customer-phone{color:#64748b;font-size:.76rem;font-family:var(--font-mono,monospace)}.ledger-badge{border-radius:var(--radius-pill,9999px);white-space:nowrap;align-items:center;gap:5px;padding:4px 10px;font-size:.76rem;font-weight:600;display:inline-flex}.ledger-badge-earn{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0}.ledger-badge-redeem{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.ledger-badge-adjust{color:#b45309;background:#fffbeb;border:1px solid #fde68a}.ledger-badge-expired{color:#dc2626;background:#fef2f2;border:1px solid #fecaca}.ledger-points-val{font-family:var(--font-mono,monospace);white-space:nowrap;font-size:.92rem;font-weight:700}.ledger-points-plus{color:#059669}.ledger-points-minus{color:#dc2626}.ledger-time-cell{white-space:nowrap;color:#475569;font-size:.78rem;line-height:1.4}.ledger-time-creator{color:#94a3b8;font-size:.74rem}.code-badge-box{color:#0f172a;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:6px;padding:4px 10px;font-family:monospace;font-size:.84rem;font-weight:700;display:inline-flex}.btn-copy-mini{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-size:.78rem;font-weight:500;transition:all .15s;display:inline-flex}.btn-copy-mini:hover{color:#0f766e;background:#e2e8f0}.promo-info-alert{background-color:var(--blue-subtle,#ccfbf1);border:1px solid var(--blue-border,#99f6e4);color:var(--blue-dark,#134e4a);border-radius:14px;flex-direction:column;gap:4px;margin-bottom:16px;padding:12px 16px;font-size:.8rem;display:flex}.modal-tiers-list{flex-direction:column;gap:10px;max-height:280px;margin-top:12px;padding-right:6px;display:flex;overflow-y:auto}.modal-tiers-list::-webkit-scrollbar{width:6px;height:6px}.modal-tiers-list::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.modal-tiers-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.modal-tiers-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}.modal-tier-row{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:10px;margin-bottom:10px;padding:12px 14px;font-size:.8rem;display:flex}.modal-tier-badge{color:var(--blue-primary,#0f766e);background-color:var(--blue-subtle,#ccfbf1);white-space:nowrap;border-radius:8px;padding:4px 10px;font-weight:700}.btn-adjust-group{gap:10px;display:flex}.btn-adjust-type{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:12px;flex:1;justify-content:center;align-items:center;gap:6px;padding:8px 12px;font-size:.82rem;font-weight:700;transition:all .15s;display:inline-flex}.btn-adjust-type.type-add.active{color:#fff;background:#059669;border-color:#059669;box-shadow:0 2px 8px #05966940}.btn-adjust-type.type-sub.active{color:#fff;background:#dc2626;border-color:#dc2626;box-shadow:0 2px 8px #dc262640}
