/* 「叫貨」分頁的「盤點」pane(public/proc-count-ui.js)。舊 WebView:不用 gap、不用 grid、不用 :has();
 * 手機為主:觸控區 >= 44px、390px 寬不出現整頁橫向捲動、主要按鈕放在拇指搆得到的下緣(送出列黏在畫面下緣) */
.ct-btns button, .ct-head button { min-height: 44px; margin: 0 6px 6px 0; }
.ct-btns { margin: 6px 0 0; }
.ct-alert { margin: 6px 0 10px; padding: 10px 12px; border-radius: 10px; background: #fff4e0; color: #9a5b00; line-height: 1.5; }
.ct-st-open { border-left-color: #2563eb; }
.ct-st-open .ct-st, .ct-st.ct-st-open { background: #e7f1fb; color: #1864ab; }
.ct-st-recount { border-left-color: #dc2626; }
.ct-st-recount .ct-st, .ct-st.ct-st-recount { background: #fdecea; color: #b42318; }
.ct-st-review { border-left-color: #f59e0b; }
.ct-st-review .ct-st, .ct-st.ct-st-review { background: #fff4e0; color: #9a5b00; }
.ct-st-done { border-left-color: #16a34a; }
.ct-st-done .ct-st, .ct-st.ct-st-done { background: #e6f4ea; color: #1e7b34; }
.ct-st-off { color: #64748b; }
.ct-sub { margin: 14px 0 6px; font-size: 15px; font-weight: 800; }
.ct-foot { margin-top: 10px; }
.ct-check { display: block; min-height: 44px; line-height: 44px; cursor: pointer; }
.ct-check input { width: 20px; height: 20px; margin: 0 8px 0 0; vertical-align: middle; }
.ct-note { display: block; margin: 10px 0; }
.ct-note input, .ct-cancel input { display: block; width: 100%; max-width: 360px; min-height: 44px; margin-top: 2px; box-sizing: border-box; font-size: 16px; }
.ct-head h3 { margin: 6px 0 2px; font-size: 18px; }
.ct-left { margin: 4px 0 8px; padding: 8px 12px; border-radius: 10px; background: #e7f1fb; color: #1864ab; font-weight: 700; }
/* 依存放位置分區 */
/* 每個存放位置一張卡(蓋掉 app.css 對所有 section 的直排與內距) */
.ct-zone { display: block; margin: 12px 0; padding: 4px 12px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel, #fff); }
.ct-zone-h { padding: 0 0 4px; border-bottom: 1px solid var(--line); }
.ct-zone-h h4 { display: inline-block; margin: 8px 8px 4px 0; font-size: 16px; font-weight: 800; }
.ct-zone-h button { min-height: 44px; margin: 0 6px 4px 0; }
.ct-claim { display: inline-block; margin-right: 8px; font-size: 14px; color: #6d28d9; }
.ct-row { padding: 10px 0 8px; border-bottom: 1px solid var(--line); }
.ct-row:last-child { border-bottom: 0; }
.ct-row-done .ct-name { color: #166534; }
.ct-name { font-size: 16px; line-height: 1.5; }
.ct-saved { font-size: 14px; color: #166534; line-height: 1.4; }
.ct-in { margin: 6px 0 0; }
.ct-in-h { font-size: 13px; color: var(--muted); }
.ct-q { display: inline-block; margin: 2px 10px 4px 0; white-space: nowrap; }
.ct-frac { width: 76px; }
.ct-chip { min-width: 52px; min-height: 44px; margin: 0 6px 6px 0; padding: 0 12px; }
.ct-prev { margin: 4px 0 0; font-weight: 700; }
.ct-unsaved { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #fff4e0; color: #9a5b00; font-size: 12.5px; font-weight: 700; }
.ct-bad, .ct-neg { color: #b91c1c; font-weight: 700; }
/* 底部送出列的外框與按鈕大小在 proc-ui.css(叫貨、點收同一種) */
.ct-bar .secondary { margin-top: 6px; min-height: 44px; }
.ct-cancel { margin: 16px 0 0; }
.ct-cancel summary { min-height: 44px; line-height: 44px; cursor: pointer; color: #b91c1c; }
.ct-cancel button { min-height: 44px; margin-top: 6px; }
/* 差異表、損耗紀錄:表格自己橫向捲,整頁不捲 */
.ct-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ct-table td { white-space: nowrap; }
.ct-table select { min-height: 40px; font-size: 15px; }
.ct-big-diff td { background: #fef3f2; }
.ct-lines { margin: 6px 0; padding-left: 18px; }
.ct-lf { margin: 0 0 8px; }
.ct-lf input { min-height: 44px; }
.ct-lf button { min-height: 44px; }
