/* 「叫貨」分頁的「庫存」pane(public/proc-stock-ui.js)。舊 WebView:不用 gap、不用 grid、不用 :has();
 * 手機為主:觸控區 >= 44px、390px 寬不出現整頁橫向捲動。負數紅、低於安全存量黃 */
.pst-nav .pst-waste { float: right; min-height: 46px; margin: 0; }
.pst-filters { clear: both; margin: 0 0 10px; }
/* 篩選:圓角小標籤,選到的是主色 */
.pst-filters button { min-height: 44px; margin: 0 6px 6px 0; padding: 0 14px; border-radius: 999px; font-size: 14.5px; }
.pst-filters button.secondary { background: var(--panel, #fff); }
.pst-total { margin: 4px 0 8px; font-weight: 700; color: var(--ink); }
.pst-card { display: block; width: 100%; min-height: 44px; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.pst-card > span { display: block; }
.pst-name { font-weight: 700; line-height: 1.5; word-break: break-all; }
.pst-qty { font-size: 18px; line-height: 1.5; }
.pst-meta { font-size: 13px; color: var(--muted); line-height: 1.5; word-break: break-all; }
.pst-low { border-left-color: #f59e0b; background: #fffaeb; }
.pst-neg { border-left-color: #d92d20; background: #fef3f2; }
.pst-neg .pst-qty { color: #b42318; font-weight: 700; }
.pst-back { min-height: 44px; margin: 0 0 8px; }
.pst-head h3 { margin: 0 0 4px; font-size: 18px; }
.pst-head button { min-height: 44px; margin-top: 8px; }
.pst-dates { margin: 0 0 8px; }
.pst-dates label { display: inline-block; margin: 0 8px 6px 0; }
.pst-dates input { min-height: 44px; margin-left: 4px; max-width: 160px; box-sizing: border-box; }
.pst-dates button { min-height: 44px; vertical-align: bottom; margin-bottom: 6px; }
.pst-moves { list-style: none; margin: 0; padding: 0; }
.pst-moves li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.pst-mv-k { display: inline-block; min-width: 72px; font-weight: 700; }
.pst-mv-q { display: inline-block; min-width: 80px; color: #1e7b34; font-weight: 700; }
.pst-mv-q.pst-minus { color: #b42318; }
.pst-mv-m { display: block; font-size: 13px; color: var(--muted); word-break: break-all; }
.pst-rec button { min-height: 44px; margin-top: 6px; }
.pst-rec-old { opacity: .7; }
.pst-rec-rev { background: #f6f8fb; }
.pst-rec-h { line-height: 1.5; word-break: break-all; }
/* 登記報廢 / 更正視窗 */
.pst-form label { display: block; margin: 0 0 12px; font-size: 14px; font-weight: 700; }
.pst-form select, .pst-form input { display: block; width: 100%; min-height: 44px; margin-top: 4px; box-sizing: border-box; font-size: 16px; font-weight: 400; }
.pst-qrow { display: block; white-space: nowrap; }
.pst-qrow input { display: inline-block; width: 55%; vertical-align: middle; font-size: 18px; }
.pst-qrow select { display: inline-block; width: 40%; margin-left: 4%; vertical-align: middle; }
.pst-form .pst-file { display: inline-block; position: relative; overflow: hidden; min-height: 44px; line-height: 44px; padding: 0 14px; border-radius: 8px; cursor: pointer; }
.pst-form .pst-file input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pst-form .m-actions button { min-height: 44px; margin: 8px 6px 0 0; }
