/* Prices & stock: period card and Products tab. */
#view-prices h2 { margin: 0; }
#view-prices .row label { display: inline-flex; align-items: center; }
#view-prices .row label { color: var(--muted); }
#pr-period { min-width: 0; max-width: 100%; }
#pr-dups-label { margin-left: auto; }
#pr-status { color: var(--muted); overflow-wrap: anywhere; }
#pr-status.error { color: var(--err); }
#pr-prod-table, #pr-review-table { min-width: 900px; }
#pr-review h2 { margin-top: var(--space-3); }
.pr-items tr.item, #pr-prod-table tr.prow { cursor: pointer; }
.pr-items tr.item:hover > td, .pr-items tr.item.open > td,
#pr-prod-table tr.prow:hover > td, #pr-prod-table tr.prow.open > td { background: var(--bg); }
tr.members .pr-items tr.item:hover > td, tr.members .pr-items tr.item.open > td { background: var(--panel); }
#pr-prod-table tr.prow.cont > td { border-top: 0; }
#pr-prod-table td.pname { font-weight: 600; }
#pr-prod-table tr.prow > td.num, #pr-prod-table tr.prow > td.date { white-space: nowrap; }
td.tog { color: var(--muted); width: 32px; padding-right: 0; }
td.tog button { background: transparent; color: var(--muted); width: 24px; height: 24px; min-height: 24px; padding: 0; border-radius: var(--radius-sm); }
td.tog button:hover { background: var(--bg); color: var(--text); }
tr.lines > td, tr.members > td { background: var(--bg); padding: var(--space-1) 6px var(--space-3); }
tr.members > td:last-child { padding-left: var(--space-6); }
td.prod { white-space: nowrap; }
td.prod .prod-in { display: flex; gap: var(--space-2); align-items: center; }
td.prod input.cell-input { width: 220px; }
tr.sugg td:first-child { box-shadow: inset 3px 0 var(--accent); }
input.sugg { color: var(--muted); font-style: italic; }
/* On a phone the period and its menu share a line, so the menu opens inside the page. */
@media (max-width: 640px) { #pr-period { flex: 1 1 0; min-width: 120px; } }
