#statisticsSection{padding:0;color:#eff7f2;font-family:Inter,system-ui,sans-serif;}
.stats-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 0 20px;}
.stats-eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#43d28c;}
#statisticsSection h2{font-size:26px;letter-spacing:-.8px;margin:9px 0;}
#statisticsSection h3{font-size:17px;letter-spacing:-.3px;margin:0 0 6px;}
#statisticsSection p{font-size:13px;line-height:1.6;color:#a7bbb0;margin:0;}
.stats-refresh{background:#123426;border:1px solid #2b6548;color:#daf7e5;padding:12px 18px;border-radius:10px;white-space:nowrap;font-size:12px;font-weight:700;cursor:pointer;}
.stats-refresh:hover{background:#1c4733;}.stats-refresh:disabled{opacity:.55;cursor:wait;}
.stats-connections{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:24px;}
.stats-status{padding:6px 10px;border-radius:6px;background:#2a2415;color:#e4c878;font-size:11px;font-weight:600;border:1px solid #53492a;}
.stats-status-muted{color:#a8b7ae;background:#15231c;border-color:#304238;}.stats-status-ok{background:#0b3623;border-color:#1c6840;color:#7fe4ab;}.stats-updated{margin-left:auto;color:#799888;font-size:11px;}
.stats-filters{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;}
.stats-platforms{display:flex;border:1px solid #294235;border-radius:10px;padding:4px;background:#0a1911;gap:4px;}
.stats-platforms button{border:0;background:transparent;color:#9daf9f;padding:10px 25px;border-radius:7px;font-size:12px;font-weight:700;cursor:pointer;}
.stats-platforms button[aria-pressed="true"]{background:#164c32;color:#baf5d0;box-shadow:0 2px 6px #0003;}
.stats-period{display:flex;align-items:center;gap:10px;color:#91ab9c;font-size:12px;}
.stats-period select{width:auto;min-width:140px;margin:0;border:1px solid #294235;border-radius:9px;background:#0e2117;color:#d2e5da;padding:11px 12px;font-size:12px;}
.stats-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px;}
.stats-card{border:1px solid #294538;background:linear-gradient(145deg,#102c1fdc,#0b1d15ed);padding:22px;border-radius:14px;display:flex;flex-direction:column;min-height:148px;}
.stats-card-label{font-size:12px;color:#aec2b5;font-weight:500;}.stats-card strong{font-size:32px;letter-spacing:-1.1px;color:#f4fbf7;margin:14px 0 10px;line-height:1.1;}.stats-card:first-child strong{font-size:26px;letter-spacing:-.8px;}.stats-card small{font-size:11px;color:#859e90;line-height:1.5;}
.stats-notice{border-left:3px solid #c9aa5a;padding:12px 16px;color:#b9c9bf;background:#1b251bbd;border-radius:0 8px 8px 0;font-size:12px;line-height:1.6;margin-bottom:24px;}
.stats-table-card{border:1px solid #294537;background:#0b1c14f5;border-radius:14px;margin-bottom:22px;overflow:hidden;}
.stats-table-heading{padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid #23392c;}
.stats-count{padding:6px 9px;background:#172b1f;border-radius:6px;color:#99b5a3;font-size:10px;white-space:nowrap;}
.stats-table-scroll{overflow-x:auto;max-width:100%;}.stats-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;min-width:540px;}
.stats-table th{padding:14px 24px;color:#93af9d;background:#10241a;font-size:11px;font-weight:600;border-bottom:1px solid #233b2d;white-space:nowrap;}
.stats-table td{padding:20px 24px;border-bottom:1px solid #1b3024;color:#d8e7de;white-space:nowrap;font-variant-numeric:tabular-nums;}
.stats-table tbody tr:last-child td{border-bottom:0;}.stats-table tbody tr:hover{background:#112a1c;}.stats-table .stats-number{font-size:16px;font-weight:650;color:#e8f5ee;}
.stats-table-foot{padding:13px 24px;border-top:1px solid #21372a;display:flex;gap:22px;flex-wrap:wrap;color:#789985;font-size:10px;line-height:1.6;background:#0c1f15;}
.stats-sales-summary{padding:14px 24px;background:#1b2518;color:#c1c19a;font-size:11px;line-height:1.6;}
.stats-vip-table{min-width:430px;}.stats-vip-empty{padding:26px 24px;font-size:13px;color:#869e8e;text-align:center;}
.stats-empty{padding:42px 24px;text-align:center;}.stats-empty-icon{display:block;font-size:28px;color:#659779;margin-bottom:16px;}.stats-empty strong{font-size:14px;display:block;margin-bottom:8px;}
.stats-details{border:1px solid #263e30;background:#0a1b12d9;border-radius:12px;margin-top:14px;overflow:hidden;}.stats-details summary{padding:17px 22px;color:#a8c2b1;font-size:12px;font-weight:600;cursor:pointer;}.stats-details[open] summary{border-bottom:1px solid #23382a;}
.stats-help-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:24px;}.stats-details h4{font-size:12px;color:#d4e6da;margin:0 0 9px;}.stats-help-grid p{font-size:12px!important;}.stats-sources{padding:20px 24px;}.stats-sources p+p{margin-top:12px!important;}.stats-import{border-top:1px solid #23382a;padding:22px 24px;}.stats-import label{display:block;margin:18px 0 8px;font-size:12px;}.stats-import textarea{width:100%;font-family:ui-monospace,monospace;font-size:12px;background:#071810;border-color:#284934;color:#bed8c9;margin-bottom:12px;}
@media(max-width:800px){.stats-summary{grid-template-columns:1fr;gap:10px;}.stats-card{min-height:auto;padding:18px;}.stats-card strong{font-size:28px;margin:10px 0 8px;}.stats-heading{align-items:flex-start;}.stats-table-heading{padding:18px;}.stats-table th,.stats-table td{padding:16px 18px;}.stats-help-grid{grid-template-columns:1fr;}.stats-table-foot{padding:12px 18px;gap:10px;}.stats-refresh{padding:11px 13px;}.stats-sales-summary{padding:12px 18px;}}
@media(max-width:520px){.stats-heading{flex-direction:column;gap:12px;}.stats-heading .stats-refresh{width:100%;}.stats-filters{flex-wrap:wrap;}.stats-period{margin-left:auto;}.stats-platforms button{padding:10px 18px;}.stats-updated{margin-left:0;width:100%;}.stats-table-heading{align-items:flex-start;}.stats-table-heading p{font-size:12px!important;}.app:has(#statisticsSection:not(.hidden)) .sidebar nav{flex-wrap:wrap;}.stats-period select{min-width:126px;}}
@media(max-width:520px){.stats-table,.stats-vip-table{min-width:0;table-layout:fixed;}.stats-table th{padding:14px 9px;white-space:normal;font-size:10px;line-height:1.5;}.stats-table td{padding:16px 9px;font-size:12px;}.stats-table td:first-child{font-size:11px;}.stats-table .stats-number{font-size:14px;}.stats-table-foot{font-size:10px;}}
