.rank-row strong small{display:block;margin-top:3px;color:#81858b;font-size:10px;font-weight:500}
.stats-strip{grid-template-columns:repeat(auto-fit,minmax(168px,1fr))}

.business-report-filters{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));align-items:end}
.business-report-filters label{min-width:0}
.business-report-filters .select{width:100%;min-width:0}
.business-report-filters>span{grid-column:1/-1;margin:0;padding:0;color:#85898f}
.business-report-stats{grid-template-columns:repeat(6,minmax(132px,1fr))}
.business-report-stats strong,.collection-panel strong,.distribution-row strong{font-variant-numeric:tabular-nums}
.business-report-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);gap:17px}
.business-report-grid>.chart-panel{margin:0}
.collection-panel,.distribution-panel,.business-report-grid>.ranking{padding:22px}
.collection-panel .chart-head strong{color:#139b92;font-size:24px}
.collection-track{height:10px;margin:38px 0 18px;border-radius:999px;background:#eceeea;overflow:hidden}
.collection-track span{display:block;height:100%;border-radius:inherit;background:#13aaa6;transition:width .24s cubic-bezier(.23,1,.32,1)}
.collection-copy{display:flex;justify-content:space-between;gap:16px;color:#777d84;font-size:12px}
.collection-copy span{display:grid;gap:6px}
.collection-copy strong{color:#20252a;font-size:16px}
.distribution-panel h3{margin:0 0 14px;font-size:16px}
.distribution-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px;border-bottom:1px solid rgba(25,30,36,.07);font-size:13px}
.distribution-row:last-child{border-bottom:0}
.distribution-row strong{font-size:12px;color:#5c646b}
.rank-row strong{display:grid;justify-items:end;gap:3px}
.rank-row strong small{font-size:10px;font-weight:500;color:#858b91}

@media(max-width:1280px){
  .business-report-filters{grid-template-columns:repeat(3,minmax(150px,1fr))}
  .business-report-stats{grid-template-columns:repeat(3,minmax(150px,1fr))}
}
@media(max-width:820px){
  .business-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .business-report-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:520px){
  .business-report-filters,.business-report-stats{grid-template-columns:minmax(0,1fr)}
}

.business-report-stats .stat-box{display:flex;min-width:0;min-height:132px;flex-direction:column;padding-right:42px}
.business-report-stats .stat-box>small{margin-top:auto;color:#7d8790;font-size:10px;line-height:1.45}
.report-filter-summary{display:flex;min-width:0;align-items:center;gap:10px;margin:-6px 0 14px;padding:0 2px;color:#7b858d;font-size:11px}
.report-filter-chips{display:flex;min-width:0;flex:1;flex-wrap:wrap;gap:6px}
.report-filter-chips>span{padding:7px 0}
.report-filter-chips button{display:inline-flex;align-items:center;gap:6px;max-width:260px;padding:6px 9px;border:1px solid #d9e7e3;border-radius:999px;background:#f1f9f7;color:#176f68;font:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.report-filter-chips button span{font-size:14px;line-height:1}
.report-filter-summary>[data-report-load-state]{white-space:nowrap}
.report-filter-summary>[data-report-load-state].loading{color:#9a711f}.report-filter-summary>[data-report-load-state].success{color:#17846f}.report-filter-summary>[data-report-load-state].error{color:#ba4f48}
.report-filter-summary time{white-space:nowrap;color:#9299a0}
.report-trend-scroll{overflow-x:auto;overflow-y:hidden;padding:0 2px 31px;scrollbar-gutter:stable}
.report-trend-scroll .bar-chart{min-width:620px;height:268px;padding:18px 8px 0;gap:5px}
.report-trend-scroll .bar-group{position:relative;display:flex;min-width:34px;height:100%;flex:1;align-items:flex-end;justify-content:center;gap:4px;padding:0 2px;border:0;background:transparent;color:inherit;cursor:default}
.report-trend-scroll .bar{width:min(15px,35%)}
.report-chart-state{position:sticky;left:0;display:grid;width:100%;min-height:220px;place-content:center;gap:6px;color:#7a858e;text-align:center}
.report-chart-state strong{color:#354352;font-size:14px}.report-chart-state span{font-size:11px}.report-chart-state.error strong{color:#b64b45}
.report-trend-tooltip{position:absolute;left:50%;bottom:calc(100% - 24px);z-index:4;display:grid;width:max-content;max-width:210px;gap:3px;padding:9px 11px;border:1px solid #263041;border-radius:9px;background:#111827;color:#fff;box-shadow:0 8px 24px rgba(15,23,42,.22);opacity:0;transform:translate(-50%,6px);pointer-events:none;transition:opacity .14s ease,transform .14s ease}
.report-trend-tooltip strong{font-size:11px}.report-trend-tooltip small{color:#d6dde8;font-size:10px;white-space:nowrap}
.report-trend-scroll .bar-group:hover .report-trend-tooltip,.report-trend-scroll .bar-group:focus-visible .report-trend-tooltip{opacity:1;transform:translate(-50%,0)}
.distribution-row strong{display:grid;justify-items:end}.distribution-row strong small{margin-top:3px;color:#828b92;font-size:9px;font-weight:500}
@media(max-width:760px){.report-filter-summary{align-items:flex-start;flex-wrap:wrap}.report-filter-chips{flex-basis:100%}.report-filter-summary time{margin-left:auto}.report-trend-scroll .bar-chart{height:240px}}
@media(prefers-reduced-motion:reduce){.report-trend-tooltip{transition:none}}

.weekly-toolbar{display:flex;align-items:center;gap:16px;margin-bottom:14px;padding:14px 16px;border:1px solid #e1e7e4;border-radius:12px;background:#fff}
.weekly-toolbar>div{display:grid;gap:3px;margin-right:auto}.weekly-toolbar>div strong{font-size:14px}.weekly-toolbar>div span,.weekly-toolbar>[data-weekly-load-state]{color:#7c858d;font-size:11px}.weekly-toolbar label{display:grid;gap:5px;color:#6e7780;font-size:11px}.weekly-toolbar .select{height:36px;min-width:180px}.weekly-toolbar>[data-weekly-load-state].loading{color:#9a711f}.weekly-toolbar>[data-weekly-load-state].success{color:#17846f}
.weekly-order-details,.weekly-customer-details{display:grid;gap:10px}.weekly-order-details article,.weekly-customer-details article{padding:15px;border:1px solid #e2e8e5;border-radius:12px;background:#fbfcfb}.weekly-order-details header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.weekly-order-details header div{display:grid;gap:4px}.weekly-order-details header strong{color:#17263a}.weekly-order-details header span{color:#6f7982;font-size:12px}.weekly-order-details header em{padding:4px 8px;border-radius:999px;background:#eaf7f4;color:#137d70;font-size:10px;font-style:normal}.weekly-order-details dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:13px 0}.weekly-order-details dl div{min-width:0;padding:9px 10px;border-radius:8px;background:#fff}.weekly-order-details dt{color:#818a91;font-size:10px}.weekly-order-details dd{margin:4px 0 0;overflow:hidden;color:#303b48;font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.weekly-order-details article>small,.weekly-customer-details small{color:#879097;font-size:10px}.weekly-customer-details article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}.weekly-customer-details span{color:#65717b;font-size:12px}.weekly-customer-details small{grid-column:1/-1}
@media(max-width:680px){.weekly-toolbar{align-items:stretch;flex-direction:column}.weekly-toolbar label,.weekly-toolbar .select{width:100%}.weekly-order-details dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
