/* Compact wager workspace; keep the existing navigation and responsive layout. */
.main-content:has(>.compact-view-bets)>.page-heading{min-height:30px;margin-bottom:5px;align-items:center;gap:10px}
.main-content:has(>.compact-view-bets)>.page-heading>div:first-child{display:flex;align-items:baseline;gap:12px;min-width:0}
.main-content:has(>.compact-view-bets)>.page-heading h1{font-size:19px;margin:0;white-space:nowrap}
.main-content:has(>.compact-view-bets)>.page-heading p{font-size:11px;margin:0;line-height:1.2}
.compact-view-bets .bet-results-summary{margin-bottom:3px;border-radius:9px;flex-shrink:0}
.compact-view-bets .bet-results-summary>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 11px;min-height:43px}
.compact-view-bets .bet-results-summary span{font-size:11px;white-space:normal;line-height:1.25}
.compact-view-bets .bet-results-summary small{display:none}
.compact-view-bets .bet-results-summary b{font-size:19px;line-height:1.2;white-space:nowrap;overflow-wrap:normal;letter-spacing:0}
.compact-view-bets .bet-results-context{font-size:10px;line-height:1.25;min-height:15px;margin:0 2px 4px;gap:4px 12px;flex-shrink:0}
.compact-view-bets .bets-panel{border-radius:10px}
.bet-results-filters{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:7px 9px;border-bottom:1px solid #e2e9f4;flex-shrink:0}
.bet-results-filters>label{display:flex;align-items:center;gap:4px;margin:0;min-width:0}
.bet-results-filters>label>span{font-size:10px;color:#8493ad}
.bet-results-filters input{height:30px;min-height:30px;min-width:0;padding:4px 7px;border:1px solid #dce5f3;border-radius:7px;font:inherit;font-size:11px;background:#fff;color:#395579}
.bet-results-filters input[type=date]{width:122px}
.bet-results-filters .bet-filter-search{flex:1 1 180px;max-width:270px}
.bet-results-filters .bet-filter-search input{width:100%;height:30px}
.bet-results-filters .btn{height:30px;min-height:30px;padding:0 11px;font-size:11px;box-shadow:none}
.bet-results-filters .date-shortcuts{display:flex;flex-wrap:nowrap;gap:4px;margin:0}
.bet-results-filters .date-shortcuts .btn{padding:0 7px;min-width:0;height:28px;min-height:28px}
.bet-results-filters .query-range-status{font-size:10px;margin-left:auto;gap:5px}
.compact-view-bets .bets-table th{height:28px!important;padding:3px 6px!important;font-size:11px}
.compact-view-bets .bets-table td{height:31px!important;min-height:0;padding:2px 6px!important;line-height:1.2;font-size:12px}
.compact-view-bets .bets-table .bet-user{gap:1px;line-height:1.1;min-height:0;padding:0}
.compact-view-bets .bets-table .bet-user strong{font-size:11px;line-height:1.1}
.compact-view-bets .bets-table .bet-user small{font-size:9px;line-height:1.1}
.compact-view-bets .bets-table :is(.bet-stake,.bet-net,.bet-balance-value){background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;min-width:0!important;min-height:0!important;font-family:Arial,"Microsoft YaHei",sans-serif!important;font-size:13px!important;font-weight:700!important;font-style:normal!important;letter-spacing:0!important;line-height:1.2;font-variant-numeric:tabular-nums}
.compact-view-bets .bet-balance-value{color:#365d8b}
.compact-view-bets .bet-time{font-family:inherit!important;font-size:10px!important;font-variant-numeric:tabular-nums}
.compact-view-bets .bet-settlement{padding:3px 7px;font-size:11px;line-height:1.2}
.compact-view-bets .bets-table .bet-source{padding:3px 6px;line-height:1.2;font-size:10px}
.compact-view-bets .bets-table .bet-round{padding:3px 6px;min-height:22px;font-size:11px}
.compact-view-bets .bets-table th:nth-child(1),.compact-view-bets .bets-table th:nth-child(2){width:14%}
.compact-view-bets .bets-table th:nth-child(3){width:9%}.compact-view-bets .bets-table th:nth-child(4){width:8%}
.compact-view-bets .bets-table th:nth-child(5),.compact-view-bets .bets-table th:nth-child(6){width:12%}.compact-view-bets .bets-table th:nth-child(7){width:13%}.compact-view-bets .bets-table th:nth-child(8){width:8%}.compact-view-bets .bets-table th:nth-child(9){width:10%}
.user-analysis-modal .analysis-kpis.pc17-analysis-kpis{grid-template-columns:repeat(9,minmax(0,1fr));gap:7px}
.user-analysis-modal .pc17-analysis-kpis .pc17-stat-card{padding:10px 8px;min-height:80px}
.user-analysis-modal .analysis-kpis.pc17-analysis-kpis .pc17-stat-card>strong{font-size:20px;line-height:1.2;font-family:inherit;font-weight:600;letter-spacing:0;font-variant-numeric:tabular-nums;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.user-analysis-modal .analysis-header-actions .tag{background:transparent;padding:0;border:0;border-radius:0;font-family:inherit;font-weight:600;font-variant-numeric:tabular-nums}
.user-analysis-modal :is(.daily-opening-balance,.analysis-net){background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;font:inherit!important;font-weight:600!important;font-variant-numeric:tabular-nums}
.user-analysis-modal .daily-opening-balance{color:#365d8b}.user-analysis-modal .analysis-net.positive{color:#15936d}.user-analysis-modal .analysis-net.negative{color:#e05268}.user-analysis-modal .analysis-net.neutral{color:#7e8da5}
.user-analysis-modal .pc17-daily-table :is(td,th){padding:6px!important;font-family:inherit;font-variant-numeric:tabular-nums}
.user-analysis-modal .pc17-daily-table th:nth-last-child(-n+3){width:8.5%}
@media(max-width:1500px){.user-analysis-modal .pc17-analysis-kpis .pc17-stat-card>strong{font-size:20px}.compact-view-bets .bet-results-summary b{font-size:17px}.compact-view-bets .bet-results-summary>div{padding:7px 8px;gap:5px}.bet-results-filters .query-range-status>span{display:none}}
@media(max-width:1199px){.user-analysis-modal .analysis-kpis.pc17-analysis-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1099px){.main-content:has(>.compact-view-bets)>.page-heading>div:first-child{display:block}.main-content:has(>.compact-view-bets)>.page-heading p{margin-top:3px}.bet-results-filters .query-range-status{margin-left:0}}
@media(max-width:850px){.compact-view-bets .bet-results-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.compact-view-bets .bet-results-summary>div{min-height:42px}.bet-results-filters .bet-filter-search{max-width:none;flex-basis:100%}}

.compact-view-bets .bets-table .bet-issue{display:inline;background:transparent;border:0;border-radius:0;padding:0;color:#52647e;font:700 13px/1.25 Arial,"Microsoft YaHei",sans-serif;letter-spacing:0;white-space:nowrap}

/* Same issue uses the same compact, softly colored frame across users and pages. */
.compact-view-bets .bets-table .bet-issue[class*=issue-tone-]{display:inline-flex;align-items:center;justify-content:center;min-width:62px;padding:3px 8px;border:1px solid transparent;border-radius:6px;box-sizing:border-box}
.compact-view-bets .bets-table .bet-issue.issue-tone-0{background:#edf4ff;border-color:#cddff8;color:#40618f}
.compact-view-bets .bets-table .bet-issue.issue-tone-1{background:#eff8f4;border-color:#d0e9de;color:#38735c}
.compact-view-bets .bets-table .bet-issue.issue-tone-2{background:#f5f0ff;border-color:#e0d4f5;color:#70579a}
.compact-view-bets .bets-table .bet-issue.issue-tone-3{background:#fff5e9;border-color:#f4dfc5;color:#9b703c}
.compact-view-bets .bets-table .bet-issue.issue-tone-4{background:#edf8fb;border-color:#cde7ee;color:#417782}
.compact-view-bets .bets-table .bet-issue.issue-tone-5{background:#fff0f4;border-color:#f3d2dd;color:#965772}
