/* 仓库下架与库位调整 页面样式 */
.wh-wrap { max-width: 1560px; }

.wh-progress { display: flex; align-items: center; gap: 12px; }
.wh-progress-bar { flex: 1; height: 10px; background: #e5e7eb; border-radius: 5px; overflow: hidden; }
.wh-progress-bar span { display: block; height: 100%; width: 0; background: #16a34a; transition: width .3s; }
.wh-progress-txt { font-size: 14px; color: #374151; white-space: nowrap; }
.btn-sm { padding: 4px 10px; }

.wh-toolbar { flex-wrap: wrap; gap: 8px; align-items: center; }
.wh-toolbar input[type=text] { min-width: 240px; }
.wh-count { font-size: 14px; color: #6b7280; margin-left: auto; }

.wh-zonebar { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.wh-zonebar .z { font-size: 14px; padding: 4px 10px; border-radius: 4px; background: #f3f4f6; color: #374151; }
.wh-zonebar .z b { font-weight: 700; }

.wh-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.wh-table th, .wh-table td { padding: 7px 8px; border-bottom: 1px solid #eef0f3; text-align: left; vertical-align: middle; }
.wh-table thead th { background: #f9fafb; position: sticky; top: 0; z-index: 2; font-size: 14px; color: #4b5563; }
.wh-table thead th small { font-weight: 400; color: #9ca3af; }
.wh-table td.num, .wh-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.wh-table th.c-chk, .wh-table td.c-chk { width: 34px; text-align: center; }
.wh-table tbody tr:hover { background: #f8fafc; }
.wh-table tr.done { background: #f0fdf4; color: #9ca3af; }
.wh-table tr.done .nm { text-decoration: line-through; }
.wh-table .nm { font-weight: 600; color: #111827; }
.wh-table tr.done .nm { color: #9ca3af; }
.wh-table .loc { font-family: Consolas, Menlo, monospace; font-size: 14px; color: #2563eb; }
.wh-table .act { color: #6b7280; font-size: 14px; }

.zt { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 14px; white-space: nowrap; }
.zt.A { background: #fee2e2; color: #b91c1c; }
.zt.B { background: #ffedd5; color: #c2410c; }
.zt.C { background: #e0f2fe; color: #0369a1; }
.zt.D { background: #f3f4f6; color: #6b7280; }
.zt.W { background: #fef9c3; color: #a16207; }

.wh-more { text-align: center; padding: 12px 0 0; }
.wh-doc h3 { font-size: 16px; margin: 14px 0 6px; }
.wh-doc p, .wh-doc li { font-size: 14px; color: #374151; line-height: 1.7; }
.wh-doc ul, .wh-doc ol { margin-left: 20px; }

@media print {
  header .header-actions, .tabs, .wh-toolbar, .wh-more, .wh-progress, #doc { display: none !important; }
  .wh-wrap { max-width: none; padding: 0; }
  .panel { box-shadow: none; padding: 0; }
  .wh-table { font-size: 14px; }
  .table-scroll { overflow: visible; max-height: none; }
}

.zt.s1 { background: #dcfce7; color: #15803d; }
.zt.s2 { background: #fef3c7; color: #b45309; }
.zt.s3 { background: #ede9fe; color: #6d28d9; }
.wh-zonebar .z.hint { background: #eff6ff; color: #1d4ed8; }

.card.clickable { cursor: pointer; transition: box-shadow .15s, transform .15s; }
.card.clickable:hover { box-shadow: 0 3px 10px rgba(0,0,0,.14); transform: translateY(-1px); }
.card.clickable.on { outline: 2px solid #2563eb; }
.card.clickable.on .v { color: #2563eb; }
#aisle-panel tbody tr { cursor: pointer; }
#aisle-panel tbody tr:hover { background: #eff6ff; }

/* 库区按全量排的风险提示 */
.wh-doc .warn-note { color: #92400e; background: #fef3c7; border-left: 3px solid #d97706;
  padding: 8px 12px; border-radius: 4px; }
