/* Screen readability only. Printed/generated barcode labels remain canvas assets. */
:root{--read-ink:#26382f;--read-muted:#53665b;--read-placeholder:#63756a;--ink:var(--read-ink);--muted:var(--read-muted)}
body{font-size:15px;line-height:1.6;color:var(--read-ink);font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei","Noto Sans SC",sans-serif}
button,input,select,textarea{font-family:inherit}
body :is(td,.scan-table td,.receive-lines td){font-size:14px!important;line-height:1.6;color:var(--read-ink)}
body :is(th,.scan-table th,.receive-lines th){font-size:13px!important;line-height:1.6;font-weight:650;color:#40564a;background:#f4f7f5}
body :is(.field label,.workflow-filters label){font-size:13px!important;font-weight:600;color:#40564a}
body :is(.field input,.field select,.field textarea,.search input,.choose-product-form input,.choose-product-form select,.receive-lines input,.receive-lines select,.workflow-detail input){font-size:15px!important;line-height:1.5;color:var(--read-ink)}
body :is(.field input,.field select,.choose-product-form input,.choose-product-form select,.receive-lines input,.receive-lines select){height:40px}
body :is(input,textarea)::placeholder{color:var(--read-placeholder);opacity:1}
.search{height:40px;max-width:100%}.scan-table .quantity-input{height:36px;font-size:14px!important}
body :is(.button,.detail-actions .button,.text-button,.master-actions .text-button,.product-entry-tabs button){font-size:14px!important;line-height:1.5}
body :is(.cell-secondary,.status-pill,.shipment-meta,.shipment-customer,.shipment-outbound-time,.scan-help,.result-count,.empty-inline,.empty-table,.empty-state,.detail-total,.brand-sub,.nav-label,.crumb,.top-actions,.today,.eyebrow,.sidebar-bottom small,.shipment-pagination,.insight-pagination,.insight-note,.insight-heading span,.masters-menu-title,.masters-record-count,.master-required,.shipment-class-fields small,.shipment-class-fields .field span){font-size:13px!important;line-height:1.65;color:var(--read-muted)!important}
body :is(.panel-heading p,.page-heading p,.welcome p,.detail-top p,.empty-detail p,.express-start>p,.modal>p,.master-placeholder p,#inventoryInsights .panel-heading p){font-size:14px!important;line-height:1.75;color:var(--read-muted)!important}
body :is(.shipment-no,.master-row,.transaction-type-label,.transaction-type-label select,.insight-filters summary,.insight-choices label,.receive-material-options,.package-row-number,.workflow-pager,.shipment-filters button,.masters-menu button){font-size:14px!important;line-height:1.6}
.nav{font-size:15px;color:#40564a;min-height:44px}.sidebar{overflow-y:auto}.sidebar-bottom{font-size:14px}.brand-sub{letter-spacing:0}
body :is(.panel-heading h2,.detail-top h2,.express-start h2,.empty-detail h2,.masters-content .panel-heading h2){font-size:20px!important;line-height:1.4;color:var(--read-ink)}
body :is(.page-heading h1,.welcome h1){font-size:26px;line-height:1.35}
body :is(.modal h2,.stocktake-picker h2){font-size:22px;line-height:1.4}
body :is(.scan-box h3,.insight-heading){font-size:16px!important;line-height:1.5;color:var(--read-ink)}
.detail-total b{font-size:18px}.cell-primary{color:#253e30}.toast{font-size:14px;line-height:1.6}
.modal:not(.receive-modal):not(.label-modal):not(.stock-history-modal){width:min(560px,96vw)}
.modal{max-height:90vh;overflow:auto}.modal-grid{gap:15px}.field textarea{font-size:15px!important;line-height:1.6}
body :is(.status-pill:not(.warning):not(.neutral),.package-row-number){color:#17634f!important}.status-pill.warning{color:#80551b!important}.status-pill.neutral{color:var(--read-muted)!important}
body :is(.reversal-note,.master-required){font-size:13px!important;color:#80551b!important;line-height:1.7}
body :is(.danger-text,.remove-scan,[data-shipped-query-error]){color:#a43d32!important;font-size:13px!important}
body :is(th.row-number,td.row-number){font-size:13px!important;color:var(--read-muted)!important}
.stocktake-picker p{font-size:14px;color:var(--read-muted);line-height:1.7}.stocktake-picker-search{font-size:15px}.workflow-history pre{font-size:13px;line-height:1.6}
.card{font-size:15px}.card p,.card label{font-size:15px;color:var(--read-muted);line-height:1.7}.card label{font-weight:600;color:#40564a}.card input,.card button{font-size:15px}.card h1{font-size:26px}.card #error{color:#a43d32}
@media(max-width:650px){.nav,.nav.active{font-size:0}.nav-label{font-size:0!important}.page-heading h1,.welcome h1{font-size:23px}.detail-actions{flex-wrap:wrap}.sidebar-bottom{font-size:12px}}
