.product-sales-page{flex-direction:column;gap:1.5rem;padding:0;display:flex}.product-sales-page .product-sales-header h1{color:#182028;margin:0 0 .5rem;font-size:1.75rem;font-weight:600}.product-sales-page .product-sales-header .muted{color:#536370;margin:0;font-size:.875rem}.product-sales-page .product-sales-controls{background:#fff;border:1px solid #cad8dd;border-radius:16px;flex-wrap:wrap;align-items:flex-end;gap:1.5rem;padding:1.25rem;display:flex}.product-sales-page .product-lookup-wrapper{flex:0 0 320px;min-width:280px}.product-sales-page .date-range-group{flex:none;gap:1rem;display:flex}.product-sales-page .date-field{flex-direction:column;gap:.375rem;display:flex}.product-sales-page .date-label{color:#182028;font-size:.75rem;font-weight:600}.product-sales-page .date-input{color:#182028;background:#f6fafc;border:1px solid #cad8dd;border-radius:4px;width:140px;height:2.75rem;padding:0 .75rem;font-size:.9375rem;font-weight:600}.product-sales-page .date-input:focus{border-color:#0f8f7a;outline:none}.product-sales-page .date-input:disabled{opacity:.5;cursor:not-allowed}.product-sales-page .action-buttons{gap:.5625rem;margin-inline-start:auto;display:flex}.product-sales-page .primary-button,.product-sales-page .secondary-button{cursor:pointer;border-radius:4px;align-items:center;gap:.5rem;height:2.5rem;padding:0 1rem;font-size:.75rem;font-weight:600;transition:background-color .2s;display:inline-flex}.product-sales-page .primary-button{color:#fff;background:#0f8f7a;border:none}.product-sales-page .primary-button:hover:not(:disabled){background:#0c7a63}.product-sales-page .primary-button:disabled{opacity:.5;cursor:not-allowed}.product-sales-page .secondary-button{color:#182028;background:#f6fafc;border:1px solid #cad8dd}.product-sales-page .secondary-button:hover:not(:disabled){background:#f1f5f7}.product-sales-page .secondary-button:disabled{opacity:.5;cursor:not-allowed}.product-sales-page .button-icon{align-items:center;display:flex}.product-sales-page .error-message{color:#c83f49;background:#fdecee;border:1px solid #f5c6cb;border-radius:6px;padding:.5rem 1rem;font-size:.75rem}.product-sales-page .success-message{color:#0f8f7a;background:#e8f6f2;border:1px solid #a3d9c6;border-radius:6px;padding:.5rem 1rem;font-size:.75rem}.product-sales-page .product-sales-summary{grid-template-columns:repeat(6,1fr);gap:.75rem;display:grid}.product-sales-page .summary-card{background:#fff;border:1px solid #cad8dd;border-radius:13px;flex-direction:column;gap:.3125rem;padding:.75rem 1rem;display:flex}.product-sales-page .summary-card.highlighted{background:#e8f6f2;border-color:#0f8f7a}.product-sales-page .summary-label{color:#536370;text-transform:uppercase;font-size:.625rem;font-weight:600}.product-sales-page .summary-value{color:#182028;font-size:1.125rem;font-weight:600}.product-sales-page .summary-card.highlighted .summary-label,.product-sales-page .summary-card.highlighted .summary-value{color:#0f8f7a}.product-sales-page .stock-formula-card{color:#536370;background:#fff4e2;border:1px solid #ffd490;border-radius:13px;padding:.75rem 1.5rem;font-size:.8125rem}.product-sales-page .stock-formula-label{color:#182028;text-transform:uppercase;font-size:.6875rem;font-weight:600}.product-sales-page .stock-formula-value{color:#182028;font-family:monospace;font-size:.8125rem}.product-sales-page .table-section{background:#fff;border:1px solid #cad8dd;border-radius:13px;margin-bottom:1.5rem;overflow:hidden}.product-sales-page .table-section h2{color:#182028;background:#f6fafc;border-bottom:1px solid #cad8dd;margin:0;padding:.75rem 1.25rem;font-size:.9375rem;font-weight:600}.product-sales-page .table-container{overflow-x:auto}.product-sales-page .history-table,.product-sales-page .sales-table{border-collapse:collapse;width:100%;font-size:.75rem}.product-sales-page .history-table thead,.product-sales-page .sales-table thead{background:#071c5b}.product-sales-page .history-table th,.product-sales-page .sales-table th{color:#fff;text-align:start;white-space:nowrap;border-inline-end:1px solid #4a5d8e73;padding:.5rem .75rem;font-size:.6875rem;font-weight:600}.product-sales-page .history-table th:last-child,.product-sales-page .sales-table th:last-child{border-inline-end:none}.product-sales-page .history-table th.numeric,.product-sales-page .sales-table th.numeric{text-align:end}.product-sales-page .history-table td,.product-sales-page .sales-table td{border-bottom:1px solid #dee7ea;color:#182028;white-space:nowrap;border-inline-end:1px solid #dee7ea;padding:.5rem .75rem}.product-sales-page .history-table td:last-child,.product-sales-page .sales-table td:last-child{border-inline-end:none}.product-sales-page .history-table td.numeric,.product-sales-page .sales-table td.numeric{text-align:end;font-variant-numeric:tabular-nums}.product-sales-page .history-row.even{background:#fff}.product-sales-page .history-row.odd{background:#f8fbfc}.product-sales-page .history-row.purchase{background:#eaf1fb}.product-sales-page .history-row.return{background:#fdecee}.product-sales-page .history-row.inventory{background:#fff4e2}.product-sales-page .history-row td.movement.negative{color:#a02b37}.product-sales-page .history-row td.movement.positive{color:#0f8f7a}.product-sales-page .sales-row.even{background:#fff}.product-sales-page .sales-row.odd{background:#f8fbfc}.product-sales-page .sales-total{background:#e8f5f2;border-top:2px solid #14877a}.product-sales-page .sales-total td{color:#071c5b;font-weight:600}.product-sales-page .empty-state{text-align:center;background:#fff;border:1px solid #cad8dd;border-radius:13px;margin-top:1rem;padding:3rem}.product-sales-page .empty-state svg{color:#cad8dd;width:48px;height:48px;margin-bottom:1rem}.product-sales-page .empty-state p{color:#536370;font-size:.875rem}@media (max-width:768px){.product-sales-page .product-sales-summary{grid-template-columns:repeat(3,1fr)}.product-sales-page .product-sales-controls{flex-direction:column;align-items:stretch}.product-sales-page .action-buttons{margin-inline-start:0}}.product-sales-page .summary-card.highlighted{background:var(--surface,#fff);border-color:var(--border,#cad8dd);border-inline-start:5px solid #149c89}.product-sales-page .summary-card:first-child{border-inline-start-color:#3476e8}.product-sales-page .summary-card:nth-child(3){border-inline-start-color:#ce4554}.product-sales-page .summary-card:nth-child(4){border-inline-start-color:#e3a126}.product-sales-page .summary-card:nth-child(5){border-inline-start-color:#8459ec}.product-sales-page .summary-card.highlighted .summary-value{color:var(--text,#182028);font-size:1.5rem}.product-sales-page .summary-card.highlighted .summary-label{color:var(--muted,#536370)}.product-sales-page .report-guidance{color:var(--muted,#536370);margin:-.5rem 0 0;font-size:.8rem}.product-sales-page .report-tabs{gap:.5rem;display:flex}.product-sales-page .report-tabs button{border:1px solid var(--border,#cad8dd);background:var(--surface,white);color:var(--text,#182028);cursor:pointer;border-radius:10px;padding:.75rem 1rem}.product-sales-page .report-tabs button[aria-selected=true]{color:#087d70;background:#e8f5f2;border-color:#14877a}.product-sales-page .report-tabs span{font-variant-numeric:tabular-nums;margin-inline-start:.5rem}.product-sales-page .stock-formula-card small{margin-top:.5rem;display:block}.product-sales-page .stock-formula-label{margin-inline-end:1rem}.product-sales-page .table-container{max-height:65vh}.product-sales-page thead{z-index:1;position:sticky;top:0}.product-sales-page .history-table td.history-details{white-space:normal;min-width:280px}.product-sales-page .table-section[hidden]{display:none}@media (max-width:1100px){.product-sales-page .product-sales-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:768px){.product-sales-page .product-lookup-wrapper{flex:auto;min-width:0}.product-sales-page .action-buttons,.product-sales-page .date-range-group{flex-wrap:wrap}}@media (max-width:480px){.product-sales-page .product-sales-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}[data-theme=dark] .product-sales-page .product-sales-controls,[data-theme=dark] .product-sales-page .table-section,[data-theme=dark] .product-sales-page .empty-state{background:var(--surface);border-color:var(--border)}[data-theme=dark] .product-sales-page .product-sales-header h1,[data-theme=dark] .product-sales-page .date-label,[data-theme=dark] .product-sales-page .summary-card.highlighted .summary-value,[data-theme=dark] .product-sales-page .report-tabs button,[data-theme=dark] .product-sales-page .table-section h2,[data-theme=dark] .product-sales-page td{color:var(--ink)}[data-theme=dark] .product-sales-page .table-section h2,[data-theme=dark] .product-sales-page .date-input,[data-theme=dark] .product-sales-page .secondary-button{background:var(--surface-muted);color:var(--ink);border-color:var(--border)}[data-theme=dark] .product-sales-page .history-row,[data-theme=dark] .product-sales-page .sales-row{background:var(--surface)}[data-theme=dark] .product-sales-page .history-row.odd,[data-theme=dark] .product-sales-page .sales-row.odd{background:var(--surface-alt)}[data-theme=dark] .product-sales-page .history-row.purchase{background:#203245}[data-theme=dark] .product-sales-page .history-row.return{background:#3f2830}[data-theme=dark] .product-sales-page .history-row.inventory,[data-theme=dark] .product-sales-page .stock-formula-card{background:#393121;border-color:#69583a}[data-theme=dark] .product-sales-page .stock-formula-label,[data-theme=dark] .product-sales-page .stock-formula-value{color:var(--ink)}[data-theme=dark] .product-sales-page .sales-total{background:#193c36}[data-theme=dark] .product-sales-page td{border-color:var(--border)}
