[hidden]{display:none!important}.stock-nav{display:flex;align-items:center;gap:14px;text-decoration:none;color:#a9bdc8;padding:14px;border-radius:7px;margin-top:8px;white-space:nowrap}.stock-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:24px 0 18px}.stock-tabs{display:flex;gap:4px;background:#e8eff3;padding:4px;border-radius:7px}.stock-tabs button{background:none;border:0;padding:9px 15px;font-size:12px}.stock-tabs button.active{background:white;color:#0e7490;box-shadow:0 1px 4px #18374612}.stock-stats{display:flex;gap:24px;margin-bottom:18px;font-size:12px;color:#79919f}.stock-stats strong{color:#365568;margin-left:8px;font-size:19px}.stock-panel{background:white;border:1px solid var(--border);border-radius:9px;padding:18px;overflow:hidden}.stock-filters{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}.stock-filters input{width:280px}.stock-filters select,select{border:1px solid #d6e0e6;border-radius:6px;background:white;padding:9px 10px;color:#405e6e;font:inherit}.stock-table-wrap{overflow:auto}.stock-table{min-width:900px}.stock-table th{font-size:11px}.stock-table td{padding:12px 10px;font-size:12px}.stock-table td button,.stock-table td a.btn{font-size:11px;padding:5px 8px;margin:2px}.stock-state{font-size:10px;border-radius:4px;padding:4px 7px;white-space:nowrap;background:#ecf7f1;color:#43866c}.stock-state.warning{background:#fff4df;color:#a57d36}.stock-state.empty-stock{background:#fff0ee;color:#b46a61}.stock-code{color:#7291a1;font-size:11px}.stock-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;background:#f6f9fb;padding:16px;border-radius:8px}.stock-fields select{display:block;width:100%;margin-top:7px}.stock-fields input{width:100%}#stock-editor{width:min(1400px,96vw);max-height:94vh}.doc-note{margin:14px 0}.person-field{position:relative}.person-field>input{margin-top:7px}.person-options{position:absolute;top:100%;left:0;right:0;max-height:190px;overflow:auto;background:white;border:1px solid var(--border);box-shadow:0 8px 20px #18374615;border-radius:6px;z-index:8;padding:5px}.person-options button{display:block;border:0;width:100%;text-align:left;font-size:12px;padding:8px}.person-options small{display:block;padding:9px;color:#8b9da7}.pick-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#f4f8fa;border:1px solid var(--border);border-radius:7px;padding:12px;margin:16px 0}.pick-toolbar strong{font-size:12px}.pick-toolbar>select:first-of-type{flex:1;min-width:180px;font-size:12px}.pick-toolbar label{display:flex;align-items:center;gap:6px}.pick-toolbar input{width:75px;margin:0}.pick-checks{display:flex;flex-wrap:wrap;gap:8px 18px;padding:12px 0}.pick-checks label{display:flex;align-items:center;gap:6px}.pick-checks input{margin:0;width:auto}.pick-parts{max-height:210px;overflow:auto;border:1px solid var(--border);border-radius:6px}.pick-parts label{display:flex;gap:10px;align-items:center;padding:8px 12px;border-bottom:1px solid #edf1f4}.pick-parts input{width:auto;margin:0}.pick-add{margin:12px 0}.stock-edit-scroll{max-height:38vh;overflow:auto;border:1px solid var(--border);border-radius:6px}.stock-edit-table{min-width:970px;table-layout:fixed}.stock-edit-table th{position:sticky;top:0;z-index:1;font-size:11px}.stock-edit-table td{padding:6px 4px}.stock-edit-table input{width:100%;padding:7px 5px;font-size:12px}.stock-edit-table th:nth-child(1){width:160px}.stock-edit-table th:nth-child(2){width:160px}.stock-edit-table th:nth-child(3){width:200px}.stock-edit-table th:nth-child(4){width:100px}.stock-edit-table th:nth-child(5){width:60px}.stock-edit-table th:nth-child(6){width:85px}.stock-edit-table th:last-child{width:38px}.stock-edit-table td>button{border:0;padding:5px;color:#a85c62}.stock-row-issue{background:#fff0ed}.stock-row-issue input{border-color:#d18983}#stock-doc-status{font-size:11px;color:#7b919f}#material-editor,#reverse-dialog{width:min(500px,94vw)}#material-editor label,#reverse-dialog label{margin-top:18px}textarea{width:100%;border:1px solid #d6e0e6;border-radius:6px;padding:9px;font:inherit;margin-top:7px;resize:vertical}.plan-intro{font-size:12px;margin-bottom:18px}.plan-summary{display:flex;gap:20px;flex-wrap:wrap;padding:15px 0;color:#718a99;font-size:12px}.plan-summary strong{color:#0e7490;margin-left:5px}.plan-orders{min-width:650px}.plan-orders input,.plan-orders select{width:100%;font-size:12px;padding:7px}.plan-orders th:nth-child(1){width:35%}.plan-orders th:nth-child(2){width:18%}.plan-orders th:nth-child(3){width:18%}.shortage{color:#bb5b45;font-weight:600}.plan-result{margin-top:20px}body.sidebar-auto aside:not(:hover):not(:focus-within) .stock-nav{padding:12px 10px}.stock-toolbar .actions{flex-wrap:wrap}#toast{z-index:1000}@media(max-width:900px){.stock-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-toolbar{align-items:flex-start}.stock-tabs{flex-wrap:wrap}.stock-filters input{width:100%}.modal-foot{gap:12px;flex-wrap:wrap}.modal-foot .actions{flex-wrap:wrap}}@media(max-width:550px){.stock-fields{grid-template-columns:1fr}.stock-stats{gap:12px;flex-wrap:wrap}.stock-tabs button{padding:8px 9px}}
.warehouse-bar{display:flex;align-items:center;gap:12px;margin:20px 0 8px;flex-wrap:wrap}.warehouse-bar select{min-width:200px}.warehouse-bar label{font-weight:600}#warehouse-editor{width:min(480px,94vw)}#warehouse-editor label{margin-top:18px}#warehouse-editor select{display:block;width:100%;margin-top:7px}

/* fb48 库存页字号调大 */
.stock-tabs button{font-size:14px;padding:11px 18px}
.stock-stats{font-size:14px}
.stock-table th{font-size:13px}
.stock-table td{font-size:14px;padding:14px 10px}
.stock-table td button,.stock-table td a.btn{font-size:13px;padding:7px 10px}
.stock-state{font-size:12px}
.stock-code{font-size:12px}
