#reportsView{padding:1.5rem;box-shadow:none}
.report-dashboard-chart{padding:1.5rem 0;border-bottom:1px solid var(--line)}
.report-chart-heading,.report-chart-controls,.report-stock-summary,.report-pending-day{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.report-chart-controls label{margin:0}.report-chart-controls select{min-height:44px}.report-chart-controls .checkbox-label{display:flex;align-items:center;gap:.5rem}
.report-income-chart{min-height:200px;width:100%;min-width:0}.report-income-chart svg{display:block;width:100%;height:auto}
.report-income-chart text{fill:var(--muted);font-size:12px}.report-chart-grid{stroke:var(--line);stroke-width:1}
.report-chart-flu{fill:var(--green)}.report-chart-covid{fill:var(--blue)}.report-chart-other{fill:var(--muted)}
.report-chart-income{fill:none;stroke:var(--amber);stroke-width:2}.report-chart-income.partial{stroke-dasharray:5 4}.report-chart-income-dot{fill:var(--amber)}
.report-income-key{display:inline-block;width:18px;height:3px;background:var(--amber)}.report-chart-period{cursor:pointer}.report-chart-period:focus{outline:2px solid var(--green);outline-offset:2px}
.report-pending-panel{padding:1.2rem 0;border-bottom:1px solid var(--line)}.report-pending-day{padding:.65rem 0;border-bottom:1px solid var(--line)}.report-pending-day button{min-height:44px}
.report-dashboard-bottom{display:grid;grid-template-columns:1.1fr 1fr;gap:2rem;padding:1.4rem 0}.report-dashboard-bottom>section{min-width:0}.report-dashboard-bottom .report-pending-panel{padding:0;border:0}
@media(max-width:900px){.report-dashboard-bottom{grid-template-columns:1fr}}
.report-stock-summary{justify-content:flex-start;margin-top:1.5rem;padding:1rem;background:var(--soft);border-radius:6px}.report-stock-summary h3{margin:0}.report-stock-summary strong{font-variant-numeric:tabular-nums}
#reportChartDetail{min-height:2.4em}#reportsView .report-charts{grid-template-columns:1fr}
@media(max-width:500px){.report-chart-heading{align-items:flex-start}.report-chart-controls{width:100%}.report-stock-summary{align-items:flex-start;gap:.75rem}.report-stock-summary h3{width:100%}}
.report-activity-control{display:block;max-width:280px;margin:.75rem 0}.report-activity-control select{width:100%;min-height:44px;background:#eef7f2;border-color:#acd5bd}
.report-activity-pagination{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin:.75rem 0}.report-activity-pagination button{min-height:44px;background:#eef7f2;border-color:#acd5bd}
#reportsView .muted,#reportsView small{font-size:.8rem;color:var(--muted)}
.report-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1rem 0 1.5rem}
.report-filters select,.report-filters input{width:100%;min-width:0}
.report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.4rem;padding:1.3rem 0;border-block:1px solid var(--line)}
.report-metrics>div{min-width:0}.report-metrics span,.report-metrics small{display:block}
.report-metrics span{font-size:.8rem;color:var(--muted)}.report-metrics strong{font-size:1.8rem;display:block;margin:.35rem 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.report-charts,.report-lower{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;padding:1.6rem 0}
.report-charts section,.report-lower section{min-width:0}.report-charts h3,.report-lower h3{margin-bottom:.35rem}
.report-lower{border-top:1px solid var(--line)}
.report-legend{display:flex;flex-wrap:wrap;gap:.6rem 1rem;font-size:.76rem;color:var(--muted);margin:1rem 0}
.report-legend span{display:flex;align-items:center;gap:.4rem}.report-dot{display:inline-block;width:9px;height:9px;flex-shrink:0;border-radius:2px}
#reportsView .available,#reportsView .flu{background:var(--green)}#reportsView .committed{background:var(--amber)}#reportsView .unavailable,#reportsView .other{background:var(--muted)}#reportsView .covid{background:var(--blue)}#reportsView .expired{background:var(--red)}
.report-stock-row{margin:0 0 1rem}.report-stock-row>div:first-child{display:flex;justify-content:space-between;gap:1rem;font-size:.85rem;margin-bottom:.4rem}.report-stock-row strong{font-variant-numeric:tabular-nums}
.report-track{display:flex;height:12px;overflow:hidden;background:var(--soft);border-radius:3px}.report-track i{height:100%}
.report-weekly{display:flex;align-items:flex-end;gap:.7rem;min-height:210px;padding:0 0 .5rem;margin:0 0 1rem;overflow-x:auto}
.report-week{flex:1;min-width:48px;display:flex;align-items:center;flex-direction:column;gap:.4rem;font-variant-numeric:tabular-nums;font-size:.8rem}
.report-week-column{height:150px;width:36px;display:flex;flex-direction:column;justify-content:flex-end;background:var(--soft)}.report-week-column i{display:block;flex-shrink:0}.report-week small{text-align:center;min-height:2.4em}
.report-expiry{display:flex;height:14px;background:var(--soft);border-radius:3px;overflow:hidden;margin-top:1rem}.report-expiry span{height:100%}
.report-priority{padding:.7rem 0;border-bottom:1px solid var(--line)}.report-priority strong,.report-priority small{display:block}.report-priority strong{font-size:.9rem}
#reportsView details{border-top:1px solid var(--line);padding-top:1rem}#reportsView summary{cursor:pointer;font-weight:700}.report-table{overflow-x:auto}.report-table table{border-collapse:collapse;width:100%;margin-top:.8rem;font-size:.85rem}.report-table td,.report-table th{padding:.75rem;border-bottom:1px solid var(--line);text-align:right;font-variant-numeric:tabular-nums}.report-table td:first-child,.report-table th:first-child{text-align:left}.report-foot{margin:1.2rem 0 0}
@media(max-width:760px){.report-filters,.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.report-charts,.report-lower{grid-template-columns:1fr}#reportsView{padding:1rem}.report-charts{gap:1.5rem}.report-metrics strong{font-size:1.55rem}}
.report-movements{border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}.report-movements dl{display:flex;gap:3rem;flex-wrap:wrap;margin:.75rem 0}.report-movements dt{color:var(--muted);font-size:.85rem}.report-movements dd{margin:.25rem 0 0;font-size:1.4rem;font-weight:800}
@media(max-width:380px){.report-filters{grid-template-columns:1fr}}
.report-entry{border:1px solid var(--line);border-left:3px solid var(--green);border-radius:4px;padding:1rem;margin:.75rem 0;overflow-wrap:anywhere}.report-entry h4{margin:0 0 .75rem}.report-entry dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:0}.report-entry dt{font-size:.8rem;color:var(--muted)}.report-entry dd{margin:.2rem 0 0;font-size:.9rem}
#reportDetailsRefresh{width:44px;min-width:44px;min-height:44px;flex-shrink:0;background:#eef7f2;border-color:#acd5bd}
@media(max-width:600px){.report-table{overflow:visible}.report-table table,.report-table tbody,.report-table tr,.report-table td{display:block;width:100%;box-sizing:border-box}.report-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.report-table tr{padding:.5rem 0;border-bottom:1px solid var(--line)}.report-table td{border:0;padding:.35rem 0;text-align:left!important;overflow-wrap:anywhere}.report-table td[data-label]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.75rem}.report-table td[data-label]::before{content:attr(data-label);color:var(--muted);font-size:.8rem}.report-entry dl{grid-template-columns:1fr}}
