.report-valuation-panel{margin-top:1.5rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 1px 2px rgba(15,23,42,.04);overflow:hidden}.report-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border-bottom:1px solid #eef0f2}.report-panel-heading h2{margin:0;color:#1f2937;font-size:1rem;font-weight:600}.report-panel-heading p{margin:.25rem 0 0;color:#6b7280;font-size:.85rem}.report-panel-heading span{color:#6b7280;font-size:.8rem;white-space:nowrap}.report-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:1rem;background:#fafafa;border-bottom:1px solid #eef0f2}.report-summary-grid div{display:flex;flex-direction:column;gap:.35rem}.report-summary-grid small{color:#6b7280;font-size:.8rem}.report-summary-grid strong{color:#111827;font-size:1.05rem}.report-table-wrap{width:100%;overflow-x:auto}.report-valuation-table{width:100%;border-collapse:collapse;min-width:850px;table-layout:auto}.report-valuation-table th{padding:.7rem .75rem;background:#fafafa;color:#6b7280;font-size:.78rem;font-weight:600;text-align:left;text-transform:uppercase;white-space:normal;vertical-align:bottom}.report-cell{padding:.7rem .75rem;border-top:1px solid #f0f1f3;color:#374151;font-size:.88rem;white-space:normal;vertical-align:top}.report-detail-cell{min-width:135px}.report-detail-line,.report-edit-detail-line{display:flex;align-items:baseline;justify-content:space-between;gap:.6rem;line-height:1.45}.report-detail-line+ .report-detail-line,.report-edit-detail-line+ .report-edit-detail-line{margin-top:.18rem}.report-detail-line span,.report-edit-detail-line span{color:#6b7280;font-size:.8rem}.report-detail-line strong{color:#1f2937;font-size:.88rem;font-weight:600;text-align:right;overflow-wrap:anywhere}.report-edit-details-cell{min-width:185px}.report-edit-detail-line{align-items:center}.report-edit-detail-line input{width:6.5rem;min-width:0;border:1px solid #cbd5e1;border-radius:4px;padding:.35rem .45rem;color:#1f2937;background:#fff;font-size:.85rem}.report-valuation-table th:nth-child(1){width:23%}.report-valuation-table th:nth-child(2){width:18%}.report-valuation-table th:nth-child(3){width:24%}.report-valuation-table th:nth-child(4),.report-valuation-table th:nth-child(5),.report-valuation-table th:nth-child(6){width:11%}.report-valuation-table th:last-child{width:8%}.report-stock-activity-table{min-width:800px}.report-stock-activity-table th:nth-child(1){width:20%}.report-stock-activity-table th:nth-child(2),.report-stock-activity-table th:nth-child(3){width:21%}.report-stock-activity-table th:nth-child(4){width:15%}.report-stock-activity-table th:nth-child(5){width:23%}.stock-activity-table{min-width:700px}.report-save-button{border:0;border-radius:4px;background:#0f766e;color:#fff;cursor:pointer;font-size:.82rem;font-weight:600;padding:.45rem .7rem}.report-save-button:disabled{cursor:wait;opacity:.65}.report-profit{color:#047857;font-weight:600}.reports-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem}.reports-pdf-button{border:0;border-radius:6px;background:#0f766e;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;padding:.65rem 1rem;white-space:nowrap}.reports-pdf-button:hover{background:#115e59}.stock-alert-panel{border-color:#fecaca}.stock-alert-value{color:#b91c1c;font-weight:700}.stock-alert-clear{color:#047857;font-weight:600}.stock-consumption-chart{min-width:12rem;max-width:22rem;white-space:normal}.stock-chart-total{display:block;color:#111827;font-size:.85rem;margin-bottom:.3rem}.stock-chart-track{display:flex;width:100%;height:.7rem;overflow:hidden;border-radius:999px;background:#e5e7eb}.stock-chart-sold{background:#f97316}.stock-chart-remaining{background:#10b981}.stock-chart-legend{margin-top:.3rem;color:#6b7280;font-size:.78rem;line-height:1.4;white-space:normal}.measurement-stock-insufficient{color:#b91c1c;font-weight:600}@media(max-width:640px){.reports-heading-row{align-items:flex-start;flex-direction:column}.report-panel-heading{align-items:flex-start;flex-direction:column}.report-summary-grid{grid-template-columns:1fr}.report-summary-grid strong{font-size:1rem}.report-panel-heading h2{font-size:.98rem}.report-cell{font-size:.85rem}}
.stock-activity-table{min-width:1100px}.stock-alert-panel{border-color:#fecaca}.stock-alert-value{color:#b91c1c;font-weight:700}.stock-alert-clear{color:#047857;font-weight:600}.stock-consumption-chart{min-width:14rem;max-width:22rem;white-space:normal}.stock-chart-total{display:block;color:#111827;font-size:.72rem;margin-bottom:.3rem}.stock-chart-track{display:flex;width:100%;height:.65rem;overflow:hidden;border-radius:999px;background:#e5e7eb}.stock-chart-sold{background:#f97316}.stock-chart-remaining{background:#10b981}.stock-chart-legend{margin-top:.25rem;color:#6b7280;font-size:.65rem}
.measurement-stock-insufficient{color:#b91c1c;font-weight:600}
.report-product-valuation-table th:nth-child(1){width:19%}.report-product-valuation-table th:nth-child(2){width:16%}.report-product-valuation-table th:nth-child(3){width:22%}.report-product-valuation-table th:nth-child(4),.report-product-valuation-table th:nth-child(5),.report-product-valuation-table th:nth-child(6){width:12%}.report-product-valuation-table th:last-child{width:7%}.report-valuation-table:not(.report-product-valuation-table):not(.report-stock-activity-table):not(.stock-activity-table) th{width:auto}
.stock-activity-table{min-width:700px}.report-stock-activity-table .stock-consumption-chart{min-width:12rem}
