/* Shared operational surfaces: compact rows, bounded lists and clear states. */
.compact-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border-top:1px solid #e8edf5;font-size:11px;color:#8391a5}
.compact-pager>div{display:flex;align-items:center;gap:10px}.compact-pager b{font-weight:500;font-variant-numeric:tabular-nums}.compact-pager button{height:28px;padding:0 10px;border:1px solid #dce5f0;background:#fff;border-radius:6px;color:#5e7390;font:inherit}.compact-pager button:disabled{opacity:.4;cursor:default}
.column-popover{width:230px;padding:10px 11px;border-radius:9px;font-size:11px;box-shadow:0 8px 28px #1d365b26}.column-popover-title{margin-bottom:8px}.column-popover-title>button{width:21px;height:21px;font-size:15px}.column-popover form label{gap:5px}.column-popover input,.column-popover select{height:30px;font-size:11px;padding:0 7px}.column-sort-options{gap:5px;margin-bottom:9px}.column-sort-options button{padding:6px 4px}.column-filter-actions{gap:6px;margin-top:9px}.column-filter-actions button{padding:6px 8px}.agency-column-popover{width:255px}.agency-filter-fields{gap:7px}.agency-sort-group>span{font-size:10px}
.ledger-filters .ledger-filter-row{padding:8px 12px;gap:10px}.ledger-main-filters{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center}.ledger-main-filters label{min-width:0;gap:7px!important;display:flex;align-items:center;font-size:11px}.ledger-main-filters label>span{white-space:nowrap}.ledger-main-filters input,.ledger-main-filters select{width:100%!important;min-width:0;height:30px!important;font-size:11px!important;padding:0 8px;border:1px solid #dce5f1;border-radius:6px;background:#fff;color:#3a506d}.ledger-date-row{flex-wrap:wrap}.ledger-date-filter{font-size:11px;gap:8px!important}.ledger-date-filter>div{gap:6px}.ledger-date-filter input{height:30px!important;width:128px!important;padding:0 7px;font-size:11px}.ledger-actions{gap:6px}.ledger-actions .btn{min-height:30px;height:30px;padding:0 11px;font-size:11px}.ledger-summary{gap:6px!important;margin-left:auto}.ledger-summary-chip{padding:6px 8px!important;min-width:0!important;font-size:11px!important;border-radius:5px!important;gap:4px!important}.ledger-summary-chip b{font-size:12px!important}
.ledger-table-wrap .ledger-table{width:100%;min-width:0;table-layout:fixed}.ledger-table-wrap .ledger-table th{height:34px;padding:6px;font-size:11px}.ledger-table-wrap .ledger-table tbody td{height:37px;padding:4px 6px;font-size:11px;vertical-align:middle}.ledger-table .ledger-user strong{font-size:11px}.ledger-table .ledger-user small{font-size:9px}.ledger-table .ledger-time{font-size:10px;white-space:normal;line-height:1.4}.ledger-table .tag,.ledger-table .amount-chip{min-height:24px;padding:3px 6px;font-size:11px}.ledger-table .ledger-balance-pair{width:158px;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);gap:4px}.ledger-table .ledger-balance-pair .amount-chip{font-size:11px;padding:4px 3px}.ledger-table .ledger-detail{font-size:11px;color:#49617e}.ledger-table .bet-round{font-size:10px;min-width:60px;padding:4px 5px}
.ledger-panel:not(.turnover-records-panel) .ledger-table th:nth-child(1){width:12%}.ledger-panel:not(.turnover-records-panel) .ledger-table th:nth-child(2){width:15%}.ledger-panel:not(.turnover-records-panel) .ledger-table th:nth-child(3){width:8%}.ledger-panel:not(.turnover-records-panel) .ledger-table th:nth-child(4){width:11%}.ledger-panel:not(.turnover-records-panel) .ledger-table th:nth-child(5){width:10%}.ledger-panel:not(.turnover-records-panel) .ledger-table th:nth-child(6){width:19%}.ledger-panel:not(.turnover-records-panel) .ledger-table th:nth-child(7){width:25%}
.ledger-table .amount-chip.delta-positive,.user-analysis-modal .amount-chip.delta-positive{background:#e9f7f0;color:#16815e}.ledger-table .amount-chip.delta-negative,.user-analysis-modal .amount-chip.delta-negative{background:#ffedef;color:#c74c5d}.ledger-table .amount-chip.delta-zero{background:#eef1f5;color:#8996aa}
.ledger-table tbody tr[class*="issue-tone-"],.analysis-table-wrap tbody tr[class*="issue-tone-"]{background:var(--issue-bg)!important}.issue-tone-0{--issue-bg:#f0f6ff}.issue-tone-1{--issue-bg:#f0faf6}.issue-tone-2{--issue-bg:#fff8ed}.issue-tone-3{--issue-bg:#f8f3ff}.issue-tone-4{--issue-bg:#fff2f5}.issue-tone-5{--issue-bg:#eff9fa}.ledger-table tbody tr[class*="issue-tone-"]:hover{filter:brightness(.98)}
.turnover-table th:nth-child(1){width:6%}.turnover-table th:nth-child(2){width:17%}.turnover-table th:nth-child(3){width:10%}.turnover-table th:nth-child(4),.turnover-table th:nth-child(5),.turnover-table th:nth-child(6){width:10%}.turnover-table th:nth-child(7){width:10%}.turnover-table th:nth-child(8){width:16%}.turnover-table th:nth-child(9){width:11%}.turnover-progress{position:relative;display:inline-flex;justify-content:center;align-items:center;width:70px;height:23px;overflow:hidden;background:#edf2fa;border-radius:5px}.turnover-progress i{position:absolute;inset:0 auto 0 0;background:#d6efdf;max-width:100%}.turnover-progress b{position:relative;color:#42775a;font-size:10px;font-weight:600}
.compact-view-history .page-heading{min-height:36px;margin-bottom:10px;align-items:center}.compact-view-history .page-heading h1{font-size:21px;margin-bottom:3px}.compact-view-history .page-heading p{font-size:11px}.compact-view-history .metrics-grid{gap:10px;margin-bottom:10px}.compact-view-history .metric-card{padding:11px 14px;min-height:74px;box-shadow:none;border-radius:10px}.compact-view-history .metric-head{font-size:10px;margin-bottom:5px}.compact-view-history .metric-card>strong{font-size:23px;line-height:1.15;margin:0}.compact-view-history .metric-card>small{font-size:9px;margin-top:4px}.compact-view-history .filterbar{padding:9px 12px;gap:8px}.compact-view-history .filter-search{max-width:330px;height:31px}.compact-view-history .filterbar input,.compact-view-history .filterbar .btn{height:31px;min-height:31px;font-size:11px}.compact-view-history .filterbar>label:not(.filter-search){font-size:10px;gap:4px}.compact-view-history .history-result-filters{padding:7px 12px;gap:5px}.compact-view-history .history-result-filters>span{font-size:11px}.compact-view-history .history-result-filters>button{padding:3px 6px;font-size:10px}.compact-view-history .history-table th{height:34px;font-size:11px;padding:6px}.compact-view-history .history-table td{height:34px!important;padding:3px 7px!important;font-size:11px}.compact-view-history .history-issue{height:24px;font-size:10px;min-width:65px}.compact-view-history .history-number{width:22px;height:23px;font-size:12px}.compact-view-history .history-sum{height:23px;min-width:27px;font-size:12px}.compact-view-history .history-equation{gap:5px}.compact-view-history .draw-badge{min-height:23px;font-size:10px;padding:2px 7px;min-width:41px}.compact-view-history .history-time{font-size:10px}.compact-view-history .pagination{padding:8px 12px;min-height:40px}.compact-view-history .pagination button{height:27px;min-width:27px}
.operations-center,.group-manager,.bank-page.advanced{max-width:none;display:grid;gap:10px;padding-bottom:0}.operations-center .page-heading,.group-manager .page-heading,.bank-page .page-heading{min-height:36px;margin:0;align-items:center}.operations-center .page-heading h1,.group-manager .page-heading h1,.bank-page .page-heading h1{font-size:21px;margin:0 0 3px}.operations-center .page-heading p,.group-manager .page-heading p,.bank-page .page-heading p{font-size:11px}.operations-center .btn,.group-manager .btn,.bank-page .btn{min-height:29px;height:29px;font-size:11px;padding:0 10px}.operations-center .ops-metrics{gap:10px;margin:0}.operations-center .ops-metrics article{padding:10px 14px;border-radius:9px;min-height:61px;box-shadow:none}.operations-center .ops-metrics article span{font-size:10px}.operations-center .ops-metrics article b{font-size:23px;margin-top:4px}.operations-center .ops-tabs,.bank-page .advanced-tabs{margin:0;gap:6px}.operations-center .ops-tabs button,.bank-page .advanced-tabs button{padding:7px 12px;font-size:11px;border-radius:7px}.operations-center .advanced-card,.bank-page .advanced-card{margin:0;padding:13px 15px;border-radius:10px}.operations-center .advanced-card h2{font-size:14px;margin:0 0 10px}.operations-center .ops-form-grid{gap:10px 14px}.operations-center .advanced-field{font-size:11px;gap:5px;margin:0}.operations-center input,.operations-center select{min-height:31px;height:31px;padding:5px 8px;font-size:11px}.operations-center .advanced-field small{font-size:9px;line-height:1.4}.operations-center .ops-note,.bank-page .ops-note{margin:0;padding:8px 10px;font-size:10px;line-height:1.55;border-radius:7px}.operations-center .advanced-card>.ops-note{margin:10px 0}.operations-center .filterbar,.bank-page .filterbar,.group-manager .filterbar{padding:8px 11px;gap:8px}.operations-center .filterbar input,.bank-page .filterbar input,.group-manager .filterbar input{height:30px;font-size:11px;padding:5px 8px}.operations-center .filterbar select{height:30px;font-size:11px;min-width:130px}.operations-center table,.bank-page table,.group-manager table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}.operations-center th,.bank-page th,.group-manager th{font-size:11px;padding:8px!important;height:32px}.operations-center td,.bank-page td,.group-manager td{font-size:11px;padding:6px 8px!important;height:37px;overflow-wrap:anywhere}.operations-center td small,.bank-page td small,.group-manager td small{font-size:9px;line-height:1.4;margin-top:2px}.operations-center .ops-badge{padding:4px 7px;font-size:10px}.operations-center .pagination{min-height:37px;padding:7px 11px}.operations-center .pagination button{height:27px;font-size:10px}.operations-center .ops-create-layout{gap:12px;grid-template-columns:minmax(0,1fr) 280px}.operations-center .ops-red-preview{padding:13px}.operations-center .ops-red-preview>div{padding:14px;border-radius:10px}.operations-center .ops-red-preview h3{font-size:14px;margin:0 0 8px}.operations-center .ops-red-preview b{font-size:21px}.operations-center .ops-red-preview p{font-size:11px;line-height:1.5;margin:9px 0}
.operations-loading{padding:30px;text-align:center;min-height:210px;display:grid;justify-items:center;align-content:center;gap:10px}.operations-loading h2{font-size:20px;margin:0}.operations-loading p{font-size:13px;color:#6c7f98;margin:0}.operations-loading small{font-size:11px;color:#91a0b4}.operations-loading-icon{width:40px;height:40px;display:grid;place-items:center;background:#edf3ff;color:#386bc7;border-radius:11px;font-weight:700}
.red-master-card{padding:11px 14px!important;gap:12px!important;margin:0!important;border-radius:10px!important}.red-master-icon{width:37px!important;height:37px!important;font-size:20px!important}.red-master-copy h2{font-size:15px!important}.red-master-copy p{font-size:11px!important;margin:4px 0!important}.red-master-copy small{font-size:10px!important}.red-master-title>span{font-size:10px!important;padding:3px 7px!important}.red-master-control .setting-switch-copy{display:none}.payout-master-card{background:linear-gradient(110deg,#f7faff,#edf5ff)!important;border-color:#cddff6!important}.payout-master-card.is-enabled{background:linear-gradient(110deg,#f5fcf8,#eaf8ef)!important;border-color:#b8dfc7!important}.payout-master-card .red-master-icon{background:#e3edff!important;color:#3c6ebc!important;font-size:16px!important;border-radius:10px}.payout-master-card.is-enabled .red-master-icon{color:#15835b!important;background:#d8f2e3!important}.payout-loading{display:flex;align-items:center;gap:12px;padding:12px;font-size:11px;border:1px solid #dbe6f5}.payout-loading span{flex:1;color:#8595ae}
.group-manager .group-routing{padding:13px;border-radius:11px}.group-binding-grid{gap:10px}.group-manager .group-binding-card{padding:12px;border-radius:9px;gap:7px;background:linear-gradient(135deg,#fbfdff,#f5f8fd);border:1px solid #e0e8f4;display:grid;min-width:0}.group-manager .group-binding-card>span{font-size:12px;font-weight:650;color:#36557b}.group-manager .group-binding-card>span:before{content:'●';font-size:9px;color:#5687dd;margin-right:7px}.group-manager .group-binding-card:nth-child(2)>span:before{color:#9b76d4}.group-manager .group-binding-card:nth-child(3)>span:before{color:#21a47a}.group-manager .group-binding-card:nth-child(4)>span:before{color:#ee9770}.group-manager .group-binding-card select{appearance:none;width:100%;height:34px;min-width:0;border:1px solid #d3dfef;border-radius:7px;background:#fff;color:#304e75;padding:0 26px 0 9px;font-size:11px;background-image:linear-gradient(45deg,transparent 50%,#7b94b7 50%),linear-gradient(135deg,#7b94b7 50%,transparent 50%);background-position:calc(100% - 14px) 14px,calc(100% - 10px) 14px;background-size:4px 4px;background-repeat:no-repeat}.group-manager .group-binding-card small{font-size:10px;line-height:1.45;color:#8b9bb1}.group-manager .group-binding-actions{padding:11px 0 0;margin:0;gap:8px;font-size:10px}.group-manager .group-register{padding-top:10px;margin-top:11px;gap:8px}.group-manager .group-register label{font-size:10px;gap:5px;flex:1;max-width:430px}.group-manager .group-register input{height:31px;width:100%;border:1px solid #dbe4f1;border-radius:6px;padding:5px 8px;font-size:11px}.group-manager .group-help{font-size:10px;line-height:1.5;margin:8px 0 0;color:#91a0b4}.group-manager .group-status{font-size:10px;padding:4px 7px}.group-manager .group-table th:nth-child(1){width:24%}.group-manager .group-table th:nth-child(2){width:20%}.group-manager .group-table th:nth-child(3){width:22%}.group-manager .group-table th:nth-child(4){width:13%}.group-manager .group-table th:nth-child(5){width:21%}
.bank-page .bank-summary{gap:10px}.bank-page .bank-summary section{padding:10px 13px;border-radius:9px;min-height:63px}.bank-page .bank-summary small{font-size:10px}.bank-page .bank-summary b{font-size:23px;margin-top:4px}.bank-page .bank-summary .bank-review-id{font-size:12px;margin-top:9px}.bank-page .bank-presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.bank-page .bank-presets>div{padding:9px 10px;border-radius:7px;font-size:11px;gap:6px;min-height:40px}.bank-page .bank-pill{padding:3px 7px;font-size:9px}.bank-page .bank-preset-tools{display:flex;flex-wrap:wrap}.bank-page .bank-preset-tools>input{width:210px;flex:0 1 230px}.bank-page td .advanced-actions{gap:4px;margin:0}.bank-page td .btn{font-size:9px;padding:0 6px;height:25px;min-height:25px}.bank-page .bank-account-number{font-size:11px;letter-spacing:.02em}
.user-analysis-backdrop{padding:16px}.user-analysis-modal{display:flex;flex-direction:column;width:min(1120px,calc(100vw - 32px));max-height:calc(100dvh - 32px);background:#fff;border:1px solid #dce6f2;border-radius:15px;box-shadow:0 24px 90px #08152b40;overflow:hidden;color:#36506f;font-size:12px}.analysis-header{display:flex;align-items:center;gap:11px;padding:14px 18px;border-bottom:1px solid #e8eef6;flex-shrink:0}.analysis-avatar{width:38px;height:38px;flex-shrink:0;display:grid;place-items:center;background:linear-gradient(145deg,#e3edff,#f2eaff);border-radius:11px;color:#5373b7;font-size:18px;font-weight:650}.analysis-header h2{font-size:17px;margin:0;line-height:1.3;color:#233e60}.analysis-header h2 small{font-size:10px;font-weight:400;color:#92a1b5;margin-left:12px}.analysis-header p{font-size:11px;color:#8294ae;margin:4px 0 0}.analysis-header p span{margin-left:13px;color:#a2aec0}.analysis-header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.user-analysis-modal .btn{height:28px;min-height:28px;padding:0 10px;font-size:11px}.user-analysis-modal .icon-button{width:28px;height:28px;font-size:20px}.analysis-range{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:10px 18px;font-size:10px;color:#8394aa;flex-shrink:0}.analysis-range select,.analysis-range input,.analysis-table-heading input{height:28px;border:1px solid #dce5f1;border-radius:6px;background:white;color:#4b6586;padding:0 7px;font-size:11px;min-width:0}.analysis-range input{width:126px}.analysis-range small{font-size:10px;margin-left:auto}.analysis-kpis{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;padding:0 18px 12px;flex-shrink:0}.analysis-kpis>div{padding:10px 9px;background:#f5f8fd;border:1px solid #e5ecf6;border-radius:8px;display:grid;gap:5px;min-width:0}.analysis-kpis span{font-size:10px;color:#8a9bb3}.analysis-kpis b{font-size:19px;font-weight:650;font-variant-numeric:tabular-nums;color:#365b88;overflow-wrap:anywhere}.analysis-kpis .delta-positive{color:#13865a}.analysis-kpis .delta-negative{color:#c84e61}.analysis-tabs{display:flex;gap:2px;padding:0 18px;border-bottom:1px solid #e1e9f4;flex-shrink:0}.analysis-tabs button{padding:9px 14px;border:0;border-bottom:2px solid transparent;background:white;color:#7d90aa;font-size:11px;white-space:nowrap}.analysis-tabs button.active{border-color:#3674df;color:#2866c5;font-weight:650}.user-analysis-body{padding:11px 18px 0;overflow:auto;min-height:0;scrollbar-width:none}.user-analysis-body::-webkit-scrollbar{display:none}.analysis-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px 15px;background:#fafcff;border:1px solid #e8eef7;border-radius:8px;padding:10px 12px;margin-bottom:10px}.analysis-info-grid>div,.analysis-mini-stats>div{display:grid;gap:4px;min-width:0}.analysis-info-grid span,.analysis-mini-stats span{font-size:10px;color:#91a0b5}.analysis-info-grid b,.analysis-mini-stats b{font-size:11px;font-weight:500;overflow-wrap:anywhere;line-height:1.4}.analysis-mini-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:5px 2px 12px}.analysis-info-grid .analysis-shortcuts{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.analysis-table-heading{display:flex;align-items:center;justify-content:space-between;min-height:28px;margin-bottom:8px;gap:10px}.analysis-table-heading strong{font-size:12px;font-weight:600}.analysis-table-heading form{display:flex;align-items:center;gap:5px}.analysis-table-heading input{width:205px}.analysis-table-wrap{border:1px solid #e3eaf4;border-radius:8px;overflow:hidden}.analysis-table-wrap table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-variant-numeric:tabular-nums}.analysis-table-wrap th{background:#f3f7fc;color:#7d90a9;font-size:10px;font-weight:500;text-align:center;padding:8px 6px;white-space:normal;line-height:1.25}.analysis-table-wrap td{height:33px;padding:5px 6px;border-top:1px solid #edf1f7;text-align:center;font-size:11px;color:#506a89;line-height:1.35;overflow-wrap:anywhere}.analysis-table-wrap td>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.analysis-table-wrap tr:nth-child(even){background:#fafcff}.analysis-table-wrap th:first-child{width:17%}.analysis-table-wrap th:last-child{width:23%}.analysis-table-wrap .amount-chip{display:inline-flex;min-height:23px;font-size:10px;padding:3px 6px;min-width:38px;max-width:100%}.analysis-table-wrap .bet-round{display:inline-block;font-size:10px;border-radius:5px;min-width:0;padding:3px 5px}.analysis-table-wrap .analysis-empty{height:90px;color:#9aabc0}.analysis-note{font-size:9px;line-height:1.5;color:#9aa8bc;margin:8px 0}.analysis-error{padding:9px;border:1px solid #f1d4da;border-radius:7px;background:#fff4f5;color:#bc5266;font-size:11px;display:flex;align-items:center;gap:10px;margin-bottom:9px}.analysis-error button{margin-left:auto;flex-shrink:0}.analysis-loading{font-size:10px;color:#7a92b3;margin:0 0 8px}.analysis-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 18px;background:#fbfcff;border-top:1px solid #e6edf7;flex-shrink:0}.analysis-footer>span{font-size:10px;color:#8c9db5}.analysis-footer>div{display:flex;gap:6px}
.fund-editor.modal-card{width:min(560px,calc(100vw - 32px));max-width:560px;padding:20px;border-radius:15px;max-height:calc(100dvh - 32px);overflow:auto}.fund-editor .template-editor-head{padding:0 0 14px;border-bottom:1px solid #e9eef6;margin-bottom:14px}.fund-editor .template-editor-head h3{font-size:19px;margin:4px 0 0}.fund-editor .template-editor-head span{font-size:11px;color:#8b9ab1}.fund-editor .icon-button{height:29px;width:29px}.fund-type-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:13px}.fund-type-picker button{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:3px 7px;padding:10px;border:1px solid #e1e8f3;border-radius:9px;background:#fafcff;text-align:left;color:#7f92ae}.fund-type-picker i{grid-row:1/3;width:28px;height:28px;display:grid;place-items:center;background:#eaf1fc;border-radius:7px;font-size:17px;font-style:normal}.fund-type-picker b{font-size:12px;font-weight:600}.fund-type-picker span{font-size:9px;color:#9aaac0}.fund-type-picker button.selected{border-color:#91b5ef;box-shadow:0 0 0 2px #edf4ff;background:#f4f8ff;color:#3671c6}.fund-type-picker button.selected.bonus{border-color:#cfafe8;color:#9460bf;background:#fcf8ff;box-shadow:0 0 0 2px #faf2ff}.fund-type-picker button.selected.rebate{border-color:#91cfb2;color:#218564;background:#f2fbf5;box-shadow:0 0 0 2px #edf8f0}.fund-editor .fund-preview{gap:8px;margin-bottom:12px}.fund-editor .fund-preview>div{padding:11px;border-radius:8px;min-height:70px;background:#f5f8fc}.fund-editor .fund-preview span{font-size:10px}.fund-editor .fund-preview b{font-size:22px;margin-top:7px}.fund-editor>label{font-size:11px;margin:12px 0;gap:6px;display:grid}.fund-editor input.fund-amount-input{height:45px;padding:9px 12px;font-size:21px;border-radius:8px}.fund-editor textarea{height:66px;min-height:66px;padding:9px 11px;border-radius:8px;font-size:12px;resize:vertical}.fund-type-rule{display:grid;gap:4px;font-size:10px;padding:9px 11px;background:#f5f9fe;border-radius:7px;color:#879bb8}.fund-type-rule b{font-size:10px;color:#5b7da9;font-weight:600}.fund-editor .fund-warning{padding:9px 11px;font-size:10px;line-height:1.5;margin:10px 0}.fund-editor .modal-actions{margin-top:14px;gap:8px}.fund-editor .btn{min-height:31px;height:31px;padding:0 12px;font-size:11px}
@media(min-width:1440px){.group-binding-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.bank-page .bank-presets{grid-template-columns:repeat(4,minmax(0,1fr))}.operations-center .ops-create-layout .ops-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:900px){.operations-center .table-wrap,.bank-page .table-wrap,.group-manager .table-wrap,.compact-view-history .table-wrap{overflow:visible}.ledger-table-wrap .ledger-table{display:table!important}.ledger-table-wrap .ledger-table thead{display:table-header-group!important}.ledger-table-wrap .ledger-table tbody{display:table-row-group!important}.ledger-table-wrap .ledger-table tr{display:table-row!important}.ledger-table-wrap .ledger-table td{display:table-cell!important;text-align:center!important}.ledger-table-wrap .ledger-table td:before{display:none!important}}
@media(max-width:1100px){.analysis-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.analysis-kpis>div{padding:7px 9px;gap:3px}.analysis-kpis b{font-size:16px}.analysis-tabs button{padding:8px 9px}.ledger-summary{margin-left:0}.ledger-date-row{row-gap:7px}.operations-center .ops-create-layout{grid-template-columns:1fr}.operations-center .ops-create-layout>aside{display:none}.group-manager .group-binding-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.user-analysis-backdrop{padding:8px}.user-analysis-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.analysis-header{padding:11px}.analysis-header h2{font-size:15px}.analysis-header h2 small{display:none}.analysis-header p span{display:none}.analysis-range{padding:8px 11px}.analysis-range small{display:none}.analysis-kpis{padding:0 11px 9px;gap:5px}.analysis-tabs{padding:0 9px;flex-wrap:wrap}.analysis-tabs button{font-size:10px;padding:7px}.user-analysis-body{padding:9px 10px 0}.analysis-info-grid,.analysis-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.analysis-info-grid{padding:9px}.analysis-table-wrap{overflow-x:auto}.analysis-table-wrap table{min-width:570px}.analysis-footer{padding:8px 10px;flex-wrap:wrap;justify-content:center}.analysis-footer>span{font-size:9px}.analysis-table-heading input{width:150px}.ledger-main-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.group-manager .group-binding-grid{grid-template-columns:1fr}.bank-page .bank-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.payout-master-card{flex-wrap:wrap}.payout-master-card>.btn{margin-left:49px}.bank-page .table-wrap,.group-manager .table-wrap,.operations-center .table-wrap{overflow-x:auto}.bank-page table,.group-manager table,.operations-center table{min-width:650px}}

/* Pagination, funding source groups and the compact packet workspace. */
.compact-pager{flex-wrap:wrap;gap:7px 14px;padding:9px 13px;min-height:43px}
.compact-pager .pager-total{display:flex;align-items:center;gap:10px;white-space:nowrap;color:#71849f}
.compact-pager .pager-total small{font-size:10px;color:#95a3b7}
.compact-pager .pager-controls{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-left:auto}
.compact-pager .pager-numbers{display:flex;align-items:center;gap:4px}
.compact-pager button{height:28px;min-width:28px;padding:0 7px;cursor:pointer;font-size:11px}
.compact-pager button.active{background:#2966ec;border-color:#2966ec;color:#fff;box-shadow:0 2px 5px #2966ec1a}
.compact-pager button:not(:disabled):not(.active):hover{background:#eff5ff;border-color:#b8cef3;color:#2861bc}
.compact-pager .pager-gap{padding:0 2px;color:#9aa9bd}
.compact-pager .pager-size,.compact-pager .pager-jump,.compact-pager .pager-jump label{display:flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap}
.compact-pager select,.compact-pager input{height:28px!important;min-height:28px!important;border:1px solid #dce5f0;border-radius:6px;background:#fff;color:#456183;padding:0 6px!important;font-size:11px!important;box-sizing:border-box}
.compact-pager select{width:68px}.compact-pager input{width:43px;text-align:center}
.ledger-table .ledger-balance-pair>.amount-chip:first-child{background:#f0f3f7;color:#8492a8}
.turnover-source-row.source-deposit{--source-row:#f0f6ff;--source-chip:#e2edff;--source-ink:#3667a6}
.turnover-source-row.source-agent{--source-row:#f7f2ff;--source-chip:#ece3fd;--source-ink:#8055bd}
.turnover-source-row.source-bonus{--source-row:#fff8ec;--source-chip:#ffedcb;--source-ink:#b77b22}
.turnover-source-row.source-rebate{--source-row:#eff9f3;--source-chip:#ddf2e5;--source-ink:#258264}
.turnover-source-row.source-packet{--source-row:#fff1f3;--source-chip:#ffe0e7;--source-ink:#b85a74}
.turnover-source-row.source-other{--source-row:#f5f7fa;--source-chip:#e9edf3;--source-ink:#6f829c}
.ledger-table.turnover-table tbody tr.turnover-source-row{background:var(--source-row)!important}
.turnover-source-row .turnover-source-tag{background:var(--source-chip);color:var(--source-ink);font-weight:650}
.turnover-source-row:hover{filter:brightness(.985)}
.operations-center:not(.red-packet-center)>.ops-overview{display:contents}
.main-content.red-packet-workspace{padding-top:12px;padding-bottom:12px;max-width:none}
.red-packet-center{gap:8px;min-width:0;align-content:start}
.red-packet-center>.ops-overview{display:grid;grid-template-columns:minmax(150px,1fr) minmax(250px,1.4fr) minmax(340px,2fr);gap:10px;align-items:center}
.red-packet-center .ops-overview>.page-heading{gap:8px;min-height:0}.red-packet-center .page-heading h1{font-size:20px}.red-packet-center .page-heading p{font-size:10px;line-height:1.45;max-width:210px;margin:3px 0 0}
.red-packet-center .ops-overview>.advanced-alert{grid-column:1/-1}
.red-packet-center .red-master-card{padding:8px 10px!important;gap:8px!important;min-height:57px}
.red-packet-center .red-master-icon{width:29px!important;height:29px!important;font-size:17px!important}
.red-packet-center .red-master-copy h2{font-size:12px!important}.red-packet-center .red-master-title{gap:6px}.red-packet-center .red-master-title>span{font-size:9px!important;padding:2px 5px!important}.red-packet-center .red-master-copy p{display:none}.red-packet-center .red-master-copy small{font-size:9px!important;line-height:1.4;display:block;margin-top:3px}
.red-packet-center .ops-metrics{gap:6px}.red-packet-center .ops-metrics article{padding:7px 9px;min-height:51px;gap:3px;border-radius:8px}.red-packet-center .ops-metrics article b{font-size:20px;line-height:1.1;margin:0}.red-packet-center .ops-metrics article span{font-size:10px}
.red-packet-center .ops-tabs button{padding:6px 12px;font-size:11px}.red-packet-center>.data-panel{min-height:0;margin:0}
.red-packet-center .filterbar{padding:7px 10px}.red-packet-center .filterbar>input{width:min(340px,50%)}
.red-packet-center table td{height:34px;padding:4px 7px!important;line-height:1.35}.red-packet-center table th{height:31px;padding:6px 7px!important}.red-packet-center table td small{margin-top:2px;line-height:1.25}.red-packet-center .compact-pager{padding:7px 10px;min-height:38px}
.red-packet-center .ops-create-layout{grid-template-columns:minmax(0,1fr) 235px;gap:10px}.red-packet-center .ops-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:9px 0;gap:9px 11px}.red-packet-center .advanced-card{padding:11px 13px}.red-packet-center .ops-create-layout .ops-note{line-height:1.4;font-size:10px;padding:7px 9px;margin:8px 0}.red-packet-center .ops-red-preview{display:block;padding:11px;max-width:none}.red-packet-center .ops-red-preview>span{margin-bottom:8px;font-size:10px}.red-packet-center .ops-red-preview>div{padding:11px}.red-packet-center .ops-red-preview p{margin:6px 0;font-size:10px}.red-packet-center .ops-red-preview h3{font-size:13px;margin:0 0 6px}.red-packet-center .ops-red-preview button{padding:6px;font-size:11px}
@media(max-width:1250px){.red-packet-center>.ops-overview{grid-template-columns:minmax(180px,1fr) minmax(250px,1fr)}.red-packet-center .ops-overview>.ops-metrics{grid-column:1/-1}.red-packet-center .ops-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.compact-pager .pager-total small{display:none}}
@media(max-width:900px){.red-packet-center .ops-create-layout{grid-template-columns:1fr}.red-packet-center .ops-create-layout>aside{display:none}.red-packet-center .ops-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.compact-pager{justify-content:center}.compact-pager .pager-controls{margin:0;justify-content:center}}
@media(max-width:600px){.red-packet-center>.ops-overview{grid-template-columns:1fr}.red-packet-center .ops-overview>.ops-metrics{grid-column:auto}.red-packet-center .ops-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-pager .pager-controls{gap:7px}.compact-pager .pager-total{width:100%;justify-content:center}.compact-pager button{min-width:25px;padding:0 5px}.compact-pager .pager-numbers{gap:2px}}

.operations-center.red-packet-center .data-panel .table-wrap table tbody td{height:35px;padding:3px 7px!important;line-height:1.3}
.operations-center.red-packet-center .data-panel .table-wrap table th{height:31px;padding:5px 7px!important}
.red-packet-center.ops-tab-orders .data-panel th:first-child{width:24%}.red-packet-center.ops-tab-orders .data-panel th:nth-child(2){width:12%}.red-packet-center.ops-tab-orders .data-panel th:nth-child(3){width:8%}.red-packet-center.ops-tab-orders .data-panel th:nth-child(4){width:22%}.red-packet-center.ops-tab-orders .data-panel th:nth-child(5){width:18%}.red-packet-center.ops-tab-orders .data-panel th:nth-child(6){width:16%}
.red-packet-center.ops-tab-orders .data-panel td:first-child b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.red-packet-center.ops-tab-orders .data-panel td:nth-child(4){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:1251px){.operations-center.red-packet-center .ops-create-layout .ops-form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

.red-packet-center .ops-overview>.page-heading>div{min-width:0}.red-packet-center .ops-overview>.page-heading>.btn{white-space:nowrap;flex-shrink:0;padding:0 9px}
