/* Dense PC17 adapter; the original dice29 design files remain untouched. */
.data-workspace .ledger-table-wrap .ledger-table tbody td,.user-analysis-modal .ledger-table-wrap .ledger-table tbody td{height:35px!important;padding:3px 6px!important}
.main-content{max-width:none;padding:12px 16px 16px}.topbar{height:56px;padding-inline:16px;gap:12px}.page-heading{min-height:39px;margin-bottom:10px;align-items:center}.page-heading h1{font-size:21px;margin-bottom:3px}.page-heading p{font-size:11px}.data-workspace .metrics-grid{gap:9px;margin-bottom:9px}.data-workspace .metric-card,.data-workspace .metrics-grid.compact .metric-card{min-height:74px;padding:10px 13px;border-radius:9px;box-shadow:0 3px 12px #34486b04}.data-workspace .metric-head{font-size:10px;margin:0}.data-workspace .metric-card>strong{font-size:23px;margin:6px 0 4px}.data-workspace .metric-card>small{font-size:9px}.data-workspace .panel-head{padding:11px 13px}.data-workspace .panel-head h2{font-size:14px}.data-workspace .panel-head p{font-size:10px;margin-top:4px}.data-workspace .filterbar{min-height:52px;padding:8px 11px;gap:8px;flex-wrap:wrap}.data-workspace .filterbar input,.data-workspace .filterbar select,.data-workspace .filterbar .btn{height:30px;min-height:30px;font-size:11px}.data-workspace .filter-search{height:30px;max-width:360px}.data-workspace .pc17-filter-toggle{padding:5px 11px;margin-bottom:8px;min-height:33px}.pc17-filter-toggle small{font-size:10px}.pc17-counter-note{padding-bottom:7px;gap:4px;font-size:10px}.data-workspace .compact-pager{min-height:38px;padding:6px 10px;gap:7px;flex-shrink:0}.compact-pager .pager-controls{gap:7px}.compact-pager button,.compact-pager select,.compact-pager input{height:27px!important;min-height:27px!important;font-size:10px!important}.data-workspace .btn{height:30px;min-height:30px;padding-inline:11px;font-size:11px}.data-workspace .table-wrap table th{height:32px;padding:5px 6px;font-size:11px}.data-workspace .table-wrap table td{height:37px;padding:4px 6px;font-size:11px;line-height:1.3;vertical-align:middle}.data-workspace .table-wrap .history-time{font-size:10px;line-height:1.3}.data-workspace .table-wrap .history-time b{font-size:11px;margin-top:1px}.data-workspace .table-wrap .bet-time{font-size:10px;white-space:normal}.data-workspace .table-wrap .tag,.data-workspace .table-wrap .amount-chip,.data-workspace .table-wrap .bet-round,.data-workspace .table-wrap .bet-type-badge{height:auto;min-height:23px;padding:3px 6px;line-height:1.3;font-size:11px;border-radius:6px}.data-workspace .table-wrap .amount-chip{min-width:35px}.data-workspace .users-table .user-money{font-size:12px;padding:5px 7px;min-height:27px}.data-workspace .users-table .user-name{font-size:12px}.data-workspace .users-table .user-identity small{font-size:9px;margin-top:2px}.data-workspace .users-table .agency-cell{min-height:36px;height:36px;padding:3px 6px}.data-workspace .users-table .agency-tier b,.data-workspace .users-table .agency-count strong{font-size:12px}.data-workspace .users-table .agency-cell small{font-size:8px}.data-workspace .users-table .fund-buttons button{height:28px;min-height:28px;padding:3px 7px;font-size:11px}.data-workspace .users-table .user-status-toggles{gap:7px}.data-workspace .users-table .real-toggle span{font-size:9px;margin-top:2px}.data-workspace .users-table .real-toggle i{width:30px;height:17px}.data-workspace .users-table .real-toggle i:before{width:13px;height:13px}.data-workspace .users-table .text-action,.data-workspace .users-table .data-summary-btn{font-size:10px;padding:5px 7px}.data-workspace .table-wrap .bet-user strong,.data-workspace .table-wrap .ledger-user strong{font-size:11px}.data-workspace .table-wrap .bet-user small,.data-workspace .table-wrap .ledger-user small{font-size:9px}.data-workspace .table-wrap .inline-detail{font-size:11px}.data-workspace .bets-table .bet-source{padding:4px 6px;font-size:10px;overflow-wrap:anywhere}.data-workspace .ledger-table .ledger-balance-pair{max-width:100%;width:145px}.data-workspace .ledger-table .ledger-balance-pair .amount-chip{padding:3px 2px;font-size:10px;min-width:0}.data-workspace .table-wrap table td> b{overflow-wrap:anywhere}
.ledger-filters .ledger-summary.pc17-ledger-summary{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px!important;padding-top:7px;margin-top:0}.ledger-filters .pc17-ledger-card.ledger-summary-chip{min-height:64px!important;padding:8px!important;grid-template-columns:20px minmax(0,1fr);gap:3px 6px!important;border-radius:7px!important}.pc17-ledger-card>i{width:20px;height:26px;border-radius:6px;font-size:14px}.ledger-filters .pc17-ledger-card>span{font-size:10px}.ledger-filters .pc17-ledger-card>b{font-size:18px!important;line-height:1.15}.pc17-ledger-card>small{font-size:8px;grid-column:1/-1}.ledger-filters .ledger-filter-row{padding:6px 10px;gap:8px}.ledger-filters .ledger-date-row{row-gap:6px}.ledger-filters .ledger-main-filters label{font-size:10px}.ledger-panel .table-wrap thead th{position:sticky;top:0;z-index:2;background:#f1f5fb}
.deposit-status.status-completed,.deposit-status.status-success{background:#e1f5eb!important;border:1px solid #c5e9d7;color:#168052!important}.deposit-status.status-pending,.deposit-status.status-processing{background:#fff3d9!important;border:1px solid #f2ddb1;color:#a16e20!important}.deposit-status.status-failed,.deposit-status.status-rejected{background:#ffedf0!important;border:1px solid #f3d1d9;color:#c1475c!important}.deposit-status.status-cancelled,.deposit-status.status-canceled{background:#f0edf8!important;border:1px solid #ddd5ef;color:#80709e!important}.deposit-status{display:inline-flex;align-items:center;border-radius:5px;padding:4px 7px;font-size:10px;white-space:nowrap}.ledger-table .tag-purple{background:#f0e9fc;color:#8360bc}.ledger-table .tag-amber{background:#fff1d9;color:#ab762d}.ledger-table .tag-rose{background:#ffedf2;color:#c95173}.ledger-table .tag-teal{background:#e5f6f3;color:#248d87}
.pc17-dialog .user-analysis-modal{width:min(1200px,calc(100vw - 28px))!important;height:min(900px,calc(100dvh - 24px));max-height:calc(100dvh - 24px)!important}.pc17-dialog .user-analysis-modal>.template-editor-head{padding:8px 13px}.user-analysis-modal>.template-editor-head h3{font-size:15px;margin:3px 0 0}.user-analysis-modal>.template-editor-head span{font-size:10px}.user-analysis-modal .pc17-analysis-identity{padding:8px 13px 3px;gap:8px}.user-analysis-modal .analysis-avatar{width:28px;height:28px;font-size:15px}.user-analysis-modal .analysis-header h2{font-size:14px}.user-analysis-modal .analysis-header p{font-size:10px;margin-top:2px}.user-analysis-modal .analysis-range{padding:7px 13px;gap:5px}.user-analysis-modal .analysis-range small{font-size:9px}.user-analysis-modal .analysis-kpis.pc17-analysis-kpis{grid-template-columns:repeat(8,minmax(0,1fr));padding:0 13px 8px;gap:6px}.user-analysis-modal .pc17-stat-card{grid-template-columns:1fr;padding:8px;gap:3px}.user-analysis-modal .pc17-stat-card>i{display:none}.user-analysis-modal .pc17-stat-card>strong{font-size:19px}.user-analysis-modal .pc17-stat-card>span{font-size:10px}.user-analysis-modal .pc17-stat-card>small{font-size:8px}.user-analysis-modal .analysis-tabs{padding-inline:13px}.user-analysis-modal .analysis-tabs button{padding:7px 11px}.pc17-dialog .user-analysis-body{padding:8px 13px;scrollbar-width:thin;min-height:0}.pc17-dialog .user-analysis-body::-webkit-scrollbar{display:block;width:6px;height:6px}.pc17-dialog .user-analysis-body::-webkit-scrollbar-thumb{background:#d4deeb;border-radius:4px}.user-analysis-modal .analysis-footer{padding:7px 13px}.user-analysis-modal .analysis-footer>span{font-size:9px}.user-analysis-modal .pc17-analysis-signals{gap:7px;margin-bottom:8px}.pc17-analysis-signals>div{padding:8px;gap:3px}.pc17-analysis-signals b{font-size:17px}.user-analysis-modal .analysis-info-grid{padding:9px 11px;gap:8px 12px}.user-analysis-modal h4{font-size:12px;margin:5px 0 9px}.user-analysis-modal .pc17-issue-table{min-width:920px;table-layout:fixed}.user-analysis-modal .pc17-issue-table th:first-child{width:9%}.user-analysis-modal .pc17-issue-table th:nth-last-child(-n+3){width:13%}.user-analysis-modal .pc17-daily-table{min-width:880px}.user-analysis-modal table th{height:29px;padding:5px;font-size:10px}.user-analysis-modal table td{height:35px;padding:3px 5px;line-height:1.25;font-size:11px}.user-analysis-modal .pc17-issue-table td small{margin-top:2px;font-size:8px}.user-analysis-modal .pc17-issue-table .bet-round{min-width:0;padding:3px 5px;font-size:10px}.user-analysis-modal table .amount-chip{padding:3px 6px;min-height:22px;font-size:11px;line-height:1.2}.user-analysis-modal .pc17-analysis-pager{margin-top:7px}.user-analysis-modal .pc17-analysis-method{margin-top:8px;padding:8px}
.pc17-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:10px}.pc17-report .pc17-stat-card{padding:10px 12px;min-height:79px;gap:3px 9px}.pc17-report .pc17-stat-card>strong{font-size:23px}.pc17-report-middle{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:10px;margin-bottom:10px}.pc17-report-chart{padding:8px 14px 12px}.pc17-report-chart svg{height:190px;width:100%}.pc17-report-chart text{font-size:9px;fill:#8d9eb5}.pc17-report-chart>div{display:flex;justify-content:space-between;font-size:9px;color:#8d9eb5;padding-left:30px}.legend-bet{color:#2867f0}.legend-payout{color:#18ad87}.report-channel{padding:8px 13px 0}.report-channel>div{display:flex;gap:10px;align-items:center;font-size:10px;color:#788ba6}.report-channel b{margin-left:auto;color:var(--stat);font-size:12px}.report-channel small{width:45px;text-align:right}.report-channel progress{width:100%;height:5px;accent-color:var(--stat);border:0;border-radius:4px;overflow:hidden}.report-channel progress::-webkit-progress-bar{background:#edf2f8}.report-channel progress::-webkit-progress-value{background:var(--stat)}.report-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 13px}.report-mini-grid>div{display:grid;gap:4px}.report-mini-grid span{font-size:9px;color:#8b9cb4}.report-mini-grid b{font-size:12px;color:#3c587c}.pc17-report-daily-scroll{max-height:355px;overflow:auto}.pc17-report-daily-table{min-width:1030px!important}.pc17-report-daily-table th{position:sticky;top:0;z-index:1;background:#eff4fa}.pc17-report-notes{font-size:10px;color:#8094ae;margin-top:10px;padding:10px 13px;border:1px solid #e0e8f3;background:#f7faff;border-radius:8px}.pc17-report-notes summary{font-size:11px;cursor:pointer;color:#526f98;font-weight:600}.pc17-report-notes p{margin:6px 0 0;line-height:1.6}.report-order-states{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0}
.account-center-page{gap:10px}.account-stat-grid{gap:10px}.account-stat-grid article{padding:12px 14px}.account-stat-grid article>div{gap:6px}.account-stat-grid article strong{font-size:23px}.account-access-note{padding:9px 12px}.account-list-panel>header{padding:10px 13px}.account-list-panel .pc17-account-table{min-width:680px;table-layout:auto}.account-list-panel .pc17-account-table th,.account-list-panel .pc17-account-table td{text-align:center!important;width:auto!important;padding:6px!important;height:40px}.pc17-totp-card{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 15px}.pc17-totp-card h2{font-size:14px;margin:0 0 6px}.pc17-totp-card p{font-size:11px;line-height:1.7;margin:0;color:#6f84a2}.pc17-totp-card small{font-size:10px;color:#94a3b7}.pc17-totp-card>.btn{flex-shrink:0}.pc17-security-modal{width:500px}.pc17-security-modal input[readonly]{font-family:Consolas,monospace;letter-spacing:1px;font-size:16px;background:#f2f7ff}.pc17-recovery p{font-size:12px;line-height:1.7;color:#6d819d}.pc17-recovery-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;background:#f3f7fc;border-radius:8px}.pc17-recovery-codes code{font-size:12px;color:#365782;white-space:nowrap}
@media(min-width:1000px){.workspace:has(.compact-view-ledger){min-height:0;height:100dvh}.main-content:has(>.compact-view-ledger){height:calc(100dvh - 56px);min-height:400px;display:flex;flex-direction:column}.main-content:has(>.compact-view-ledger)>.page-heading{flex-shrink:0}.compact-view-ledger{min-height:0;flex:1;display:flex;flex-direction:column}.compact-view-ledger>.pc17-filter-toggle{flex-shrink:0}.compact-view-ledger>.ledger-panel{min-height:0;flex:1;display:flex;flex-direction:column}.compact-view-ledger>.ledger-panel>.ledger-filters{flex-shrink:0}.compact-view-ledger>.ledger-panel>.table-wrap{min-height:0;flex:1;overflow:auto;scrollbar-width:thin}.nav-item{height:37px;margin-block:1px;font-size:12px}.nav-icon{width:27px;height:27px;font-size:14px}.nav-label{height:32px}.sidebar-foot{height:48px}.nav-group-items{padding-block:1px}}
@media(max-width:1300px){.ledger-filters .ledger-summary.pc17-ledger-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.ledger-filters .pc17-ledger-card.ledger-summary-chip{min-height:55px!important}.pc17-report-middle{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr)}.pc17-filter-toggle small{font-size:9px}}
@media(max-width:1100px){.user-analysis-modal .analysis-kpis.pc17-analysis-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.pc17-report .pc17-stat-card>strong{font-size:20px}.pc17-report .pc17-stat-card{grid-template-columns:1fr}.pc17-report .pc17-stat-card>i{display:none}.topbar .region-indicator{display:none}}
@media(max-width:900px){.main-content{padding:10px}.topbar{padding-inline:10px;gap:8px}.pc17-report-middle{grid-template-columns:1fr}.pc17-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.data-workspace .filterbar{align-items:end}.account-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pc17-totp-card{flex-wrap:wrap}}
@media(max-width:600px){.ledger-filters .ledger-summary.pc17-ledger-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.user-analysis-modal .analysis-kpis.pc17-analysis-kpis{grid-template-columns:repeat(2,minmax(0,1fr));max-height:165px;overflow:auto}.pc17-dialog .user-analysis-modal{width:calc(100vw - 16px)!important}.user-analysis-modal .analysis-range input{width:110px}.user-analysis-modal .analysis-header h2 small{display:inline;font-size:9px}.pc17-recovery-codes{grid-template-columns:1fr}.pc17-report .pc17-stat-card>strong{font-size:19px}}
