.statistics-content{width:min(1480px,calc(100% - 52px));margin:0 auto;padding:34px 0 55px;color:#12336d}
.statistics-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px;text-shadow:0 2px 15px rgba(255,255,255,.5)}
.statistics-page-heading h1{margin:10px 0 5px;font-size:clamp(30px,3.6vw,44px);line-height:1.08;letter-spacing:-.7px}
.statistics-page-heading p{margin:8px 0 0;color:#315887;font-size:13px}
.statistics-month-picker{display:flex;flex-direction:column;gap:6px;color:#234778;font-size:10px;font-weight:800}
.statistics-month-picker input{height:42px;min-width:175px;padding:0 12px;border:1px solid rgba(66,128,203,.3);border-radius:12px;background:rgba(255,255,255,.9);color:#173b70;font:750 12px Manrope,sans-serif;box-shadow:0 7px 17px rgba(21,62,133,.09)}
.statistics-dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.statistics-panel{min-width:0;padding:18px;border:1px solid rgba(255,255,255,.9);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(238,247,255,.84));backdrop-filter:blur(16px);box-shadow:0 14px 32px rgba(0,30,104,.14)}
.statistics-volume-panel{grid-column:span 2;color:#fff;background:radial-gradient(ellipse at 80% 100%,rgba(0,191,255,.34),transparent 47%),linear-gradient(140deg,#063775,#0869b7 58%,#073777);border-color:rgba(121,207,255,.65);box-shadow:0 16px 38px rgba(0,56,143,.27)}
.statistics-analysis-panel{grid-column:span 1;grid-row:span 2}
.statistics-types-panel,.statistics-rare-panel,.statistics-officer-panel{grid-column:span 2}
.statistics-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.statistics-panel-heading h2{margin:4px 0 0;color:#153970;font-size:16px;line-height:1.25}
.statistics-volume-panel .statistics-panel-heading h2{color:white;font-size:20px}
.statistics-panel-kicker{color:#4984bc;font-size:8px;font-weight:850;letter-spacing:1.15px}
.statistics-volume-panel .statistics-panel-kicker{color:#8ddfff}
.statistics-month-label{padding:7px 10px;border:1px solid rgba(255,255,255,.28);border-radius:20px;background:rgba(255,255,255,.11);color:#d9f4ff;font-size:10px;font-weight:750;white-space:nowrap}
.statistics-panel-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;font-size:23px;font-weight:800}
.statistics-panel-icon.amber{background:#fff5df;color:#e9a800}.statistics-panel-icon.blue{background:#eaf5ff;color:#0879cb}
.statistics-total-row{display:flex;align-items:flex-end;gap:13px;margin:13px 0 16px}
.statistics-total-row>b{font-size:42px;line-height:1;font-weight:850;letter-spacing:-1px}
.statistics-total-row>span{display:flex;flex-direction:column;gap:5px;padding-bottom:2px}
.statistics-total-row>span>b{color:#22e7bb;font-size:11px}.statistics-total-row>span>small{color:#c6e7ff;font-size:9px}
.statistics-chart-heading{display:flex;justify-content:space-between;gap:12px;margin:0 0 8px;color:#e3f5ff;font-size:10px}
.statistics-chart-heading span{color:#b6dfff}
.statistics-daily-chart{height:132px;display:flex;align-items:flex-end;gap:3px;padding:8px 4px 0;border-bottom:1px solid rgba(196,232,255,.42);background:repeating-linear-gradient(to bottom,transparent 0,transparent 31px,rgba(206,235,255,.12) 32px)}
.statistics-day-column{position:relative;flex:1;height:100%;min-width:3px;display:flex;align-items:flex-end;justify-content:center}
.statistics-day-bar{width:min(76%,15px);min-height:2px;border-radius:5px 5px 0 0;background:linear-gradient(180deg,#38deff,#0f8bf0);box-shadow:0 0 9px rgba(41,195,255,.34);transition:height .2s}
.statistics-day-bar.peak{background:linear-gradient(180deg,#ffe35d,#ffa11e);box-shadow:0 0 12px rgba(255,194,50,.5)}
.statistics-day-label{position:absolute;left:50%;bottom:-16px;transform:translateX(-50%);color:#b9ddf5;font-size:7px}
.statistics-ranked-list,.statistics-officer-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.statistics-ranked-item{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 9px;border:1px solid #e3eef9;border-radius:12px;background:rgba(244,250,255,.78)}
.statistics-rank{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:#e4f1ff;color:#2870b7;font-size:10px;font-weight:850}
.statistics-rank.rank-1{background:linear-gradient(135deg,#ffe15c,#ff9d22);color:white}.statistics-rank.rank-2{background:linear-gradient(135deg,#d4e9f8,#86a9c5);color:white}.statistics-rank.rank-3{background:linear-gradient(135deg,#ffb36b,#f07433);color:white}
.statistics-ranked-details{min-width:0;display:flex;flex-direction:column;gap:7px}.statistics-ranked-details>b{overflow:hidden;color:#204372;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.statistics-progress{height:5px;overflow:hidden;border-radius:8px;background:#dfedfb}.statistics-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#07bdea,#2871ed)}
.statistics-ranked-item strong{color:#173d71;font-size:10px;white-space:nowrap}.statistics-muted{margin:10px 0 0;color:#768aa8;font-size:10px;line-height:1.55}
.statistics-analysis-list{display:flex;flex-direction:column;gap:9px}.statistics-analysis-item{padding:11px 12px;border-left:3px solid #23a6e9;border-radius:0 11px 11px 0;background:rgba(255,255,255,.74)}
.statistics-analysis-item b{color:#19457d;font-size:10px}.statistics-analysis-item p{margin:5px 0 0;color:#657d9e;font-size:9px;line-height:1.5}
.statistics-analysis-item.amber{border-color:#f4b127}.statistics-analysis-item.red{border-color:#eb5463}.statistics-analysis-item.green{border-color:#11b982}.statistics-analysis-item.purple{border-color:#8f59ed}
.statistics-type-card{display:grid;grid-template-columns:39px minmax(0,1fr) auto;align-items:center;gap:11px;margin-bottom:8px;padding:11px 12px;border:1px solid #e2edf8;border-radius:13px;background:linear-gradient(110deg,#f0f9ff,#e5f4ff)}
.statistics-type-card>span{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(135deg,#0bc8ed,#2177e7);color:#fff;font-size:13px;font-weight:850}
.statistics-type-card.type-2{background:linear-gradient(110deg,#effdf8,#e3fff3)}.statistics-type-card.type-2>span{background:linear-gradient(135deg,#09bd90,#35c950)}.statistics-type-card.type-3{background:linear-gradient(110deg,#fff9eb,#fff0d7)}.statistics-type-card.type-3>span{background:linear-gradient(135deg,#ff9e28,#e95c13)}
.statistics-type-card>div{min-width:0}.statistics-type-card>div>b{color:#153b71;font-size:11px}.statistics-type-card p{margin:4px 0 0;color:#6d83a1;font-size:9px;line-height:1.45}.statistics-type-card>strong{color:#2361a0;font-size:16px}
.statistics-stock-overview{display:flex;align-items:center;gap:12px;margin:3px 0 11px}.statistics-stock-gauge{width:112px;height:112px;flex:none;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#08c9b3 var(--stock-percent,0%),#168de1 var(--stock-percent,0%) 100%,#d6e9f8 100%);box-shadow:0 5px 15px rgba(17,146,188,.16)}
.statistics-stock-gauge>div{width:82px;height:82px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:6px solid rgba(255,255,255,.88);border-radius:50%;background:#f7fcff}.statistics-stock-gauge b{color:#164887;font-size:23px;line-height:1}.statistics-stock-gauge span{margin-top:4px;color:#6c83a2;font-size:7px;text-align:center}
.statistics-stock-caption{margin:0;color:#6c83a2;font-size:9px;line-height:1.5}.statistics-stock-list,.statistics-recommendations,.statistics-compact-list{display:flex;flex-direction:column;gap:7px}
.statistics-stock-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 7px;padding:7px 8px;border:1px solid #f0d6d7;border-radius:9px;background:#fff8f8}.statistics-stock-item.watch{border-color:#f1e1be;background:#fffbf0}
.statistics-stock-item span{overflow:hidden;color:#395b83;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.statistics-stock-item b{color:#b8394b;font-size:9px;white-space:nowrap}.statistics-stock-item.watch b{color:#a87914}.statistics-stock-item small{grid-column:1/-1;color:#b74857;font-size:8px}.statistics-stock-item.watch small{color:#9b781f}
.statistics-panel-description{margin:-3px 0 10px;color:#7286a2;font-size:9px;line-height:1.5}.statistics-recommendation-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 9px;border:1px solid #deecf8;border-radius:10px;background:rgba(255,255,255,.72)}
.statistics-recommendation-row>div{min-width:0;display:flex;flex-direction:column;gap:4px}.statistics-recommendation-row b{overflow:hidden;color:#284b77;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.statistics-recommendation-row span{color:#7488a3;font-size:8px;line-height:1.4}.statistics-recommendation-row strong{color:#0879b9;font-size:10px;white-space:nowrap}
.statistics-compact-row{display:flex;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #e3edf7;border-radius:10px;background:rgba(255,255,255,.72)}.statistics-compact-row span{overflow:hidden;color:#355780;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.statistics-compact-row b{color:#7086a5;font-size:8px;white-space:nowrap}
.statistics-officer-list li{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 10px;border:1px solid #e3edf7;border-radius:11px;background:rgba(255,255,255,.74)}
.statistics-officer-rank{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#e8f4ff;color:#3173b7;font-size:9px;font-weight:850}.statistics-officer-list li>b{overflow:hidden;color:#274b78;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.statistics-officer-list li>strong{color:#137ab5;font-size:9px;white-space:nowrap}
@media(max-width:1100px){.statistics-content{width:min(calc(100% - 40px),900px)}.statistics-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.statistics-analysis-panel{grid-column:span 1;grid-row:auto}.statistics-volume-panel,.statistics-types-panel,.statistics-rare-panel,.statistics-officer-panel{grid-column:span 2}.statistics-top-material-panel,.statistics-analysis-panel,.statistics-stock-panel,.statistics-recommendation-panel{grid-column:span 1}}
@media(max-width:650px){.statistics-content{width:min(calc(100% - 30px),540px);padding:28px 0 40px}.statistics-page-heading{align-items:flex-start;flex-direction:column;gap:13px;margin-bottom:16px}.statistics-page-heading h1{font-size:29px}.statistics-page-heading p{font-size:11px;line-height:1.5}.statistics-month-picker{width:100%}.statistics-month-picker input{width:100%}.statistics-dashboard-grid{grid-template-columns:1fr;gap:10px}.statistics-panel,.statistics-volume-panel,.statistics-top-material-panel,.statistics-analysis-panel,.statistics-types-panel,.statistics-stock-panel,.statistics-recommendation-panel,.statistics-rare-panel,.statistics-officer-panel{grid-column:1;padding:15px;border-radius:16px}.statistics-panel-heading h2{font-size:14px}.statistics-volume-panel .statistics-panel-heading h2{font-size:18px}.statistics-total-row>b{font-size:36px}.statistics-daily-chart{height:115px;gap:2px}.statistics-day-bar{width:75%;max-width:11px}.statistics-stock-overview{justify-content:flex-start}.statistics-type-card{grid-template-columns:34px minmax(0,1fr) auto;padding:9px}.statistics-type-card>span{width:31px;height:31px}}

/* Monthly report layout follows the three-column reference dashboard. */
.statistics-content{width:min(1480px,calc(100% - 48px));padding:25px 0 42px}
.statistics-page-heading{margin:0 0 16px}
.statistics-page-heading h1{font-size:clamp(27px,3vw,38px)}
.statistics-page-heading p{font-size:12px}
.statistics-dashboard-grid{grid-template-columns:minmax(0,2.08fr) minmax(270px,1.12fr) minmax(285px,1fr);grid-template-areas:"volume materials analysis" "types stock analysis" "recommendations rare analysis" "officers officers calendar";gap:12px}
.statistics-volume-panel{grid-area:volume;min-height:336px;padding:20px 22px 22px}
.statistics-top-material-panel{grid-area:materials}
.statistics-analysis-panel{grid-area:analysis;grid-row:auto;display:flex;flex-direction:column}
.statistics-types-panel{grid-area:types}
.statistics-stock-panel{grid-area:stock}
.statistics-recommendation-panel{grid-area:recommendations}
.statistics-rare-panel{grid-area:rare}
.statistics-officer-panel{grid-area:officers}
.statistics-calendar-panel{grid-area:calendar}
.statistics-panel{padding:17px;border-radius:18px;box-shadow:0 12px 29px rgba(0,42,113,.13)}
.statistics-volume-panel{box-shadow:0 16px 34px rgba(0,62,143,.26)}
.statistics-panel-heading{margin-bottom:12px}
.statistics-title-with-icon{display:flex;align-items:center;gap:10px}
.statistics-title-with-icon>.statistics-panel-icon{width:39px;height:39px;flex:none;border-radius:12px;font-size:22px}
.statistics-panel-heading h2{font-size:15px}
.statistics-volume-panel .statistics-panel-heading h2{font-size:20px}
.statistics-volume-controls{display:flex;align-items:center;gap:8px}
.statistics-volume-panel .statistics-month-picker{gap:0;color:#e4f6ff;font-size:8px}
.statistics-volume-panel .statistics-month-picker input{height:35px;min-width:130px;padding:0 9px;border-color:rgba(255,255,255,.28);border-radius:11px;background:rgba(8,33,92,.38);color:#fff;font-size:10px;box-shadow:none;color-scheme:dark}
.statistics-month-label{padding:7px 9px;font-size:9px}
.statistics-total-row{margin:8px 0 13px}
.statistics-total-row>b{font-size:49px}
.statistics-chart-heading{margin-bottom:8px}
.statistics-daily-chart{height:172px;gap:4px}
.statistics-day-bar{width:min(72%,18px)}
.statistics-top-material-panel{min-height:336px}
.statistics-ranked-list{gap:8px}
.statistics-ranked-item{grid-template-columns:31px minmax(0,1fr) auto;padding:9px 8px;gap:8px}
.statistics-ranked-details>b{font-size:9px}
.statistics-ranked-item strong{font-size:9px}
.statistics-analysis-panel{gap:0;background:linear-gradient(155deg,rgba(255,255,255,.97),rgba(219,241,255,.93));border-color:rgba(97,190,245,.58)}
.statistics-analysis-list{gap:10px}
.statistics-analysis-list{flex:1}
.statistics-analysis-item{flex:1;display:flex;flex-direction:column;justify-content:center;padding:12px;border-left-width:4px;background:rgba(247,252,255,.88)}
.statistics-analysis-item b{font-size:10px}
.statistics-analysis-item p{font-size:9px;line-height:1.55}
.statistics-types-panel{min-height:255px}
.statistics-type-card{grid-template-columns:38px minmax(0,1fr) auto;margin-bottom:8px;padding:10px 11px}
.statistics-type-card>div>b{font-size:10px}
.statistics-type-card p{font-size:8px}
.statistics-stock-panel{min-height:255px}
.statistics-stock-overview{justify-content:center;flex-direction:column;gap:8px}
.statistics-stock-formula{margin:-2px 0 10px;color:#6c83a2;font-size:8px;line-height:1.45;text-align:center}
.statistics-stock-gauge{width:135px;height:135px;box-shadow:0 8px 22px rgba(17,146,188,.2)}
.statistics-stock-gauge>div{width:101px;height:101px}
.statistics-stock-gauge b{font-size:28px}
.statistics-stock-caption{text-align:center}
.statistics-stock-list{width:100%}
.statistics-recommendation-panel,.statistics-rare-panel{min-height:172px}
.statistics-officer-panel{min-height:160px}
.statistics-officer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.statistics-officer-list li{padding:8px}
.statistics-calendar-panel{align-self:stretch;padding:16px 18px}
.statistics-calendar-weekdays,.statistics-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}
.statistics-calendar-weekdays{margin:8px 0 5px;color:#6280a6;font-size:8px;font-weight:800}
.statistics-calendar-day{display:grid;min-height:27px;place-items:center;border-radius:8px;color:#355578;font-size:9px}
.statistics-calendar-day.has-activity{background:linear-gradient(135deg,#e0f6ff,#d7edff);color:#086bc2;font-weight:850;box-shadow:inset 0 0 0 1px #b6dcfa}
.statistics-calendar-day.empty{visibility:hidden}
.statistics-calendar-legend{display:flex;align-items:center;gap:6px;margin:9px 0 0;color:#7187a3;font-size:8px}
.statistics-calendar-legend i{width:8px;height:8px;border-radius:50%;background:#1595e8}
@media(max-width:1120px){.statistics-content{width:min(calc(100% - 40px),1000px)}.statistics-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"volume volume" "materials analysis" "types stock" "recommendations recommendations" "rare officers" "calendar calendar"}.statistics-volume-panel,.statistics-top-material-panel{min-height:300px}.statistics-analysis-panel{min-height:300px}.statistics-stock-overview{flex-direction:row}.statistics-officer-list{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.statistics-content{width:min(calc(100% - 28px),540px);padding:24px 0 36px}.statistics-page-heading{margin-bottom:12px}.statistics-page-heading h1{font-size:27px}.statistics-page-heading p{font-size:10px}.statistics-dashboard-grid{grid-template-columns:1fr;grid-template-areas:"volume" "materials" "analysis" "types" "stock" "recommendations" "rare" "officers" "calendar";gap:10px}.statistics-panel,.statistics-volume-panel,.statistics-top-material-panel,.statistics-analysis-panel,.statistics-types-panel,.statistics-stock-panel,.statistics-recommendation-panel,.statistics-rare-panel,.statistics-officer-panel,.statistics-calendar-panel{grid-column:auto;min-height:0;padding:15px;border-radius:16px}.statistics-volume-panel{padding:16px}.statistics-volume-panel .statistics-panel-heading{align-items:flex-start}.statistics-title-with-icon{gap:8px}.statistics-title-with-icon>.statistics-panel-icon{width:34px;height:34px}.statistics-volume-controls{align-items:flex-end;flex-direction:column;gap:5px}.statistics-volume-panel .statistics-month-picker input{min-width:130px;width:130px}.statistics-month-label{padding:5px 7px;font-size:8px}.statistics-total-row>b{font-size:39px}.statistics-daily-chart{height:136px;gap:2px}.statistics-day-bar{width:75%;max-width:12px}.statistics-stock-overview{flex-direction:row;justify-content:flex-start}.statistics-stock-gauge{width:110px;height:110px}.statistics-stock-gauge>div{width:82px;height:82px}.statistics-stock-gauge b{font-size:23px}.statistics-stock-caption{text-align:left}.statistics-stock-formula{text-align:left}.statistics-officer-list{grid-template-columns:1fr}.statistics-calendar-day{min-height:32px}}
.statistics-page-actions{display:flex;align-items:flex-end;flex-direction:column;gap:8px;max-width:300px}
.statistics-page-actions>span{color:#5d779a;font-size:9px;line-height:1.4;text-align:right}
.statistics-ai-button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:9px;padding:0 17px;border:1px solid rgba(148,221,255,.9);border-radius:13px;background:linear-gradient(110deg,#079ee7,#2674f3 58%,#6546e9);box-shadow:0 9px 20px rgba(24,109,216,.23);color:#fff;font:800 11px Manrope,sans-serif;cursor:pointer;transition:transform .18s,box-shadow .18s,opacity .18s}
.statistics-ai-button:hover{transform:translateY(-1px);box-shadow:0 12px 25px rgba(24,109,216,.3)}
.statistics-ai-button:disabled{cursor:wait;opacity:.75}
.statistics-ai-button>span{font-size:16px}
.statistics-ai-button.loading>span{animation:statistics-ai-pulse 1s ease-in-out infinite alternate}
@keyframes statistics-ai-pulse{to{transform:rotate(35deg) scale(1.3);opacity:.55}}
.statistics-ai-status{margin:0 0 12px;padding:10px 13px;border:1px solid #c5e3ff;border-radius:11px;background:rgba(237,248,255,.92);color:#245889;font-size:10px;line-height:1.5}
.statistics-ai-status.error{border-color:#f5c2c4;background:#fff2f2;color:#a43b45}
.statistics-ai-status.success{border-color:#abe6ce;background:#effcf6;color:#177c57}
.statistics-ai-result{margin:0 0 13px;padding:20px 22px;border-color:rgba(111,196,246,.67);background:linear-gradient(140deg,rgba(255,255,255,.96),rgba(226,244,255,.95));}
.statistics-ai-output{margin:0;color:#365374;font:500 11px/1.75 Manrope,Arial,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:650px){.statistics-page-heading{align-items:flex-start;flex-direction:column;gap:12px}.statistics-page-actions{width:100%;align-items:stretch;max-width:none}.statistics-page-actions>span{text-align:left}.statistics-ai-button{width:100%}.statistics-ai-result{padding:15px}}
