.wh-ledger { --whl-brand: #a7284d; --whl-brand-dark: #861b3d; --whl-border: #eadde1; --whl-muted: #816f75; display: grid; gap: 14px; color: #2d2024; }
.wh-ledger * { box-sizing: border-box; }
.whl-top { overflow: hidden; border: 1px solid #eadde1; border-radius: 12px; background: linear-gradient(115deg, #fff9f6, #fff 55%, #fff4f0); }
.whl-tabs { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 10px; padding: 14px 14px 0; }
.whl-tabs button { position: relative; min-height: 58px; border: 1px solid #e7dadd; border-bottom: 0; border-radius: 9px 9px 0 0; background: rgba(255,255,255,.72); color: #5d4c52; font-size: 14px; cursor: pointer; }
.whl-tabs button strong { margin-right: 7px; }
.whl-tabs button b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 99px; background: #f4e5ea; color: var(--whl-brand); font-size: 11px; }
.whl-tabs button.active { border-color: var(--whl-brand); background: var(--whl-brand); color: #fff; }
.whl-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--whl-brand); }
.whl-tabs button.active b { background: rgba(255,255,255,.2); color: #fff; }
.whl-overview { display: grid; grid-template-columns: repeat(4, minmax(175px, 1fr)); gap: 12px; align-items: stretch; padding: 16px 14px; }
.whl-metric-card { display: flex; align-items: center; gap: 13px; min-height: 76px; padding: 13px 15px; border: 1px solid #eadde1; border-radius: 8px; background: rgba(255,255,255,.9); }
.whl-metric-card i { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-family: Georgia, "Microsoft YaHei", serif; font-size: 20px; font-style: normal; font-weight: 800; }
.whl-metric-card.purchase i { background: #fae9ee; color: #b62550; }
.whl-metric-card.receipt i { background: #fff0e2; color: #d36d18; }
.whl-metric-card.outbound i { background: #e8f5ee; color: #287d51; }
.whl-metric-card.stock i { background: #f1ebfb; color: #7958bd; }
.whl-metric-card div { min-width: 0; }
.whl-metric-card span, .whl-metric-card small, .whl-metric-card strong { display: block; }
.whl-metric-card span, .whl-metric-card small { color: #85747a; font-size: 11px; }
.whl-metric-card strong { margin: 4px 0 2px; color: #2e2226; font-size: 19px; white-space: nowrap; }
.whl-metric-card strong em { color: #746268; font-size: 11px; font-style: normal; font-weight: 600; }
.whl-flow-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 4px; }
.whl-flow-metrics b { display: grid; gap: 1px; color: #89777d; font-size: 10px; font-weight: 600; }
.whl-flow-metrics strong { margin: 0; font-size: 15px; }
.whl-flow-metrics strong em { margin-left: 1px; font-size: 9px; }
.whl-panel { border: 1px solid var(--whl-border); border-radius: 10px; background: #fff; }
.whl-toolbar { position: relative; display: grid; grid-template-columns: minmax(180px,.8fr) minmax(260px,1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; }
.whl-toolbar h3 { margin: 0 0 4px; font-size: 17px; }
.whl-toolbar p { margin: 0; color: var(--whl-muted); font-size: 12px; }
.whl-search { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px; border: 1px solid #e3d7db; border-radius: 8px; background: #fffafa; }
.whl-search span { color: var(--whl-brand); font-size: 18px; }
.whl-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; }
.whl-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.whl-button, .whl-primary { min-height: 36px; padding: 7px 11px; border-radius: 7px; font-weight: 700; cursor: pointer; }
.whl-button { border: 1px solid #dccbd0; background: #fff; color: #5f4d53; }
.whl-button:hover { border-color: var(--whl-brand); color: var(--whl-brand); }
.whl-primary { border: 1px solid var(--whl-brand); background: var(--whl-brand); color: #fff; }
.whl-primary:hover { background: var(--whl-brand-dark); }
.whl-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.whl-grid-panel { min-width: 0; overflow: hidden; }
.whl-table-wrap { max-width: 100%; overflow: auto; }
.whl-table { width: 100%; min-width: 1180px; border-collapse: separate; border-spacing: 0; }
.whl-table th, .whl-table td { height: 48px; padding: 8px 10px; border-right: 1px solid #eee4e7; border-bottom: 1px solid #eee4e7; text-align: center; vertical-align: middle; font-size: 12px; white-space: nowrap; }
.whl-table th { position: sticky; top: 0; z-index: 2; background: #f6ecef; color: #644f56; font-weight: 800; }
.whl-table th:last-child, .whl-table td:last-child { border-right: 0; }
.whl-table tbody tr:hover td { background: #fffafb; }
.whl-table strong { font-size: 13px; }
.whl-product-image, .whl-image-placeholder { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 6px; object-fit: cover; }
.whl-product-image { border: 1px solid #eee3e6; }
.whl-image-placeholder { background: #f2e5e9; color: var(--whl-brand); font-weight: 800; }
.whl-status, .whl-warehouse { display: inline-flex; align-items: center; min-height: 23px; padding: 3px 8px; border-radius: 99px; font-size: 11px; }
.whl-status.ok { background: #eaf7ef; color: #16794a; }
.whl-status.warn { background: #fff3df; color: #a15c00; }
.whl-warehouse.ganzhou { background: #eaf2ff; color: #245caf; }
.whl-warehouse.yiwu { background: #eaf8f3; color: #08785e; }
.whl-negative { color: #c3263f; }
.whl-link { margin: 0 4px; border: 0; background: none; color: #8f2847; font-weight: 700; cursor: pointer; }
.whl-link.danger { color: #c43f3f; }
.whl-empty { height: 160px !important; color: #927e84; }
.whl-footer { display: flex; justify-content: space-between; gap: 12px; padding: 11px 15px; color: #85747a; font-size: 11px; background: #fffbfc; }
.whl-modal-bg { position: fixed; inset: 0; z-index: 1700; display: grid; place-items: center; padding: 18px; background: rgba(45,32,36,.48); }
.whl-modal { width: min(980px, 100%); max-height: calc(100vh - 36px); overflow: auto; border-radius: 12px; background: #fff; box-shadow: 0 28px 90px rgba(61,25,38,.26); }
.whl-modal header { display: flex; justify-content: space-between; gap: 12px; padding: 19px 21px; border-bottom: 1px solid #eadde1; background: linear-gradient(110deg, #fff5f2, #fff); }
.whl-modal header p { margin: 0 0 3px; color: var(--whl-brand); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.whl-modal header h3 { margin: 0 0 4px; font-size: 21px; }
.whl-modal header span { color: #806d73; font-size: 12px; }
.whl-close { width: 34px; height: 34px; border: 1px solid #dfd0d5; border-radius: 50%; background: #fff; color: #745e65; font-size: 20px; cursor: pointer; }
.whl-product-match { margin: 14px 21px 0; padding: 10px 12px; border-radius: 7px; background: #f7f4f5; color: #78666c; font-size: 12px; }
.whl-product-match.ok { background: #eaf7ef; color: #16794a; }
.whl-product-match.warn { background: #fff3df; color: #965800; }
.whl-product-candidates { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; margin-top: 9px; }
.whl-product-candidates button { display: grid; grid-template-columns: 34px 1fr; gap: 7px; align-items: center; min-width: 0; padding: 7px; border: 1px solid #e2d2d7; border-radius: 7px; background: #fff; color: #4c3b41; text-align: left; cursor: pointer; }
.whl-product-candidates button:hover { border-color: var(--whl-brand); background: #fff8fa; }
.whl-product-candidates .whl-product-image, .whl-product-candidates .whl-image-placeholder { width: 34px; height: 34px; }
.whl-product-candidates span { display: grid; gap: 2px; min-width: 0; }
.whl-product-candidates b, .whl-product-candidates small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whl-product-candidates b { font-size: 12px; }
.whl-product-candidates small { color: #856f76; font-size: 10px; }
.whl-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; padding: 17px 21px; }
.whl-form-grid label { display: grid; gap: 6px; color: #715e64; font-size: 12px; }
.whl-form-grid label.wide { grid-column: span 2; }
.whl-form-grid input, .whl-form-grid select, .whl-form-grid textarea { width: 100%; min-height: 38px; border: 1px solid #dfd2d6; border-radius: 7px; background: #fff; padding: 8px 10px; font: inherit; outline: 0; }
.whl-form-grid textarea { resize: vertical; }
.whl-form-grid label small { color: #927d84; line-height: 1.45; }
.whl-form-grid input:focus, .whl-form-grid select:focus, .whl-form-grid textarea:focus { border-color: var(--whl-brand); box-shadow: 0 0 0 3px rgba(167,40,77,.08); }
.whl-modal footer { display: flex; justify-content: flex-end; gap: 9px; padding: 14px 21px 19px; border-top: 1px solid #eee4e7; }
.whl-scan-recommendation { display: grid; gap: 8px; margin: 0 21px 16px; }
.whl-scan-recommendation:empty { display: none; }
.whl-recommendation-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.whl-recommendation-list button { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 3px; min-width: 0; padding: 10px; border: 1px solid #dfd3d7; border-radius: 8px; background: #fffaf9; color: #524047; cursor: pointer; text-align: left; }
.whl-recommendation-list button.selected { border-color: #2f8a56; background: #f0fbf4; box-shadow: 0 0 0 2px rgba(47,138,86,.1); }
.whl-recommendation-list button b { grid-row: span 2; align-self: start; min-width: 48px; padding: 3px 5px; border-radius: 99px; background: #f5e7eb; color: var(--whl-brand); font-size: 10px; text-align: center; }
.whl-recommendation-list button.selected b { background: #dff4e7; color: #197347; }
.whl-recommendation-list button strong { font-size: 15px; }
.whl-recommendation-list button span { grid-column: 2; color: #857078; font-size: 10px; line-height: 1.35; }
.whl-temp-fields input:placeholder-shown { background: #fffdf7; }
.whl-map-workspace { overflow: hidden; border: 1px solid var(--whl-border); border-radius: 10px; background: #fff; }
.whl-map-toolbar { display: grid; grid-template-columns: minmax(210px, .9fr) minmax(230px, 1fr) auto; gap: 14px; align-items: center; padding: 15px 17px; border-bottom: 1px solid #eee3e6; background: linear-gradient(110deg, #fff9f6, #fff); }
.whl-map-toolbar h3 { margin: 0 0 4px; font-size: 18px; }
.whl-map-toolbar p { margin: 0; color: var(--whl-muted); font-size: 12px; }
.whl-map-layout { display: block; padding: 15px; background: #fcf9f8; }
.whl-real-floorplan { position: relative; overflow: hidden; aspect-ratio: 1.31 / 1; container-type: inline-size; border: 2px solid #b8aeab; border-radius: 7px; background: #fff; box-shadow: 0 6px 18px rgba(69, 39, 45, .08); }
.whl-real-floorplan > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.whl-floorplan-background { z-index: 1; }
.whl-floorplan-labels { z-index: 2; pointer-events: none; }
.whl-map-original-label, .whl-map-label-custom { position: absolute; z-index: 3; display: grid; place-items: center; box-sizing: border-box; overflow: hidden; container-type: inline-size; pointer-events: none; }
.whl-map-original-label img { position: absolute; max-width: none; width: calc(var(--sprite-width) * 1cqw); height: auto; left: calc(var(--sprite-left) * 1cqw); top: calc(var(--sprite-top) * 1cqw); }
.whl-map-label-custom { padding: 2px; color: #252126; font-family: inherit; font-size: calc(var(--label-font) * 1cqw); font-weight: 700; line-height: 1.08; text-align: center; white-space: pre-line; }
.whl-map-label-custom.vertical { writing-mode: vertical-rl; }
.whl-map-rack-label { position: absolute; z-index: 4; box-sizing: border-box; color: #161116; font-family: inherit; font-size: calc(.896 * 1cqw); font-weight: 700; line-height: 1; white-space: nowrap; pointer-events: none; }
.whl-map-rack-label b, .whl-map-rack-label strong { position: absolute; top: 50%; font: inherit; transform: translateY(-50%); }
.whl-map-rack-label b { left: 7%; }
.whl-map-rack-label strong { right: 7%; color: #0000d3; }
.whl-rack-hotspot { position: absolute; z-index: 5; min-width: 0; min-height: 0; padding: 0; border: 1px solid transparent; background: transparent; cursor: pointer; }
.whl-rack-hotspot:hover { border-color: var(--whl-brand); background: rgba(167,40,77,.12); box-shadow: 0 0 0 2px rgba(167,40,77,.18); }
.whl-rack-quick { margin-top: 11px; padding: 10px; border: 1px solid #e7dcdf; border-radius: 8px; background: #fff; }
.whl-rack-quick header { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 8px; }
.whl-rack-quick header b { font-size: 12px; }
.whl-rack-quick header span { color: #8c787f; font-size: 10px; }
.whl-rack-quick > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.whl-rack-quick section { display: grid; grid-template-columns: repeat(6, minmax(34px, 1fr)); gap: 5px; align-items: stretch; }
.whl-rack-quick section > strong { grid-column: 1 / -1; color: #307b4b; font-size: 11px; }
.whl-rack-quick .whl-rack { min-height: 37px; }
.whl-rack-quick .whl-rack small { display: none; }
.whl-floorplan { display: grid; grid-template-columns: 128px minmax(330px, 1fr) 150px; grid-template-rows: 105px 1fr 94px; gap: 10px; min-height: 540px; padding: 13px; border: 4px solid #b6b1ae; border-radius: 5px; background: #fffefa; box-shadow: inset 0 0 0 1px #e5dfdb; }
.whl-zone { display: grid; place-content: center; gap: 5px; border: 1px solid #eaded8; border-radius: 8px; background: #fff8e6; color: #8d650f; text-align: center; cursor: pointer; transition: .18s ease; }
.whl-zone:hover, .whl-zone.selected { outline: 3px solid rgba(167, 40, 77, .2); transform: translateY(-1px); }
.whl-zone strong { font-size: 15px; }
.whl-zone small { color: inherit; font-size: 10px; }
.whl-zone.staging { grid-row: 1; grid-column: 1; }
.whl-zone.inspection { grid-row: 2; grid-column: 1; background: #eaf5ff; color: #2873ad; }
.whl-zone.molds { grid-row: 3; grid-column: 1; background: #f1ecfa; color: #7351a6; }
.whl-zone.semi { grid-row: 1 / span 2; grid-column: 3; background: #fff2e7; color: #bd6419; }
.whl-zone.packing { grid-row: 3; grid-column: 2; background: #fff1f4; color: #b45170; }
.whl-zone.workbench { grid-row: 3; grid-column: 3; background: #fff6ec; color: #ad6d26; }
.whl-map-area { min-width: 0; padding: 12px; border: 1px dashed #b9d4bf; border-radius: 8px; background: #f4fbf4; }
.whl-map-area.area-a { grid-row: 1 / span 2; grid-column: 2; }
.whl-map-area h4 { margin: 0 0 8px; color: #287847; font-size: 14px; text-align: center; }
.whl-map-area > div { display: grid; grid-template-columns: repeat(6, minmax(42px, 1fr)); gap: 7px; }
.whl-rack { display: grid; min-height: 47px; gap: 2px; place-content: center; border: 1px solid #c7dfcb; border-radius: 5px; background: #fff; color: #4e6c55; cursor: pointer; transition: .16s ease; }
.whl-rack strong { font-size: 11px; }
.whl-rack small { font-size: 9px; }
.whl-rack.occupied { background: #f5fcf6; }
.whl-rack.empty { color: #a1aca3; }
.whl-rack.selected { border-color: var(--whl-brand); background: var(--whl-brand); color: #fff; box-shadow: 0 4px 10px rgba(167,40,77,.22); }
.whl-rack.match:not(.selected) { border: 2px solid #d99b16; background: #fff6d9; color: #92610b; }
.whl-map-detail { display: grid; align-content: start; gap: 13px; padding: 16px; border: 1px solid #e6d9dd; border-radius: 10px; background: #fff; box-shadow: 0 8px 22px rgba(74, 37, 48, .06); }
.whl-map-detail header { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.whl-map-detail header p { margin: 0 0 3px; color: var(--whl-brand); font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.whl-map-detail h3 { margin: 0 0 3px; font-size: 21px; }
.whl-map-detail header span { color: #806d73; font-size: 12px; }
.whl-map-edit { min-height: 31px; padding: 5px 9px; font-size: 11px; }
.whl-location-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.whl-location-stats span { display: grid; gap: 4px; color: #88747b; font-size: 10px; }
.whl-location-stats strong { color: #34252a; font-size: 14px; white-space: nowrap; }
.whl-location-progress { height: 7px; overflow: hidden; border-radius: 99px; background: #f1e9eb; }
.whl-location-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a7284d, #d76681); }
.whl-location-products { display: grid; gap: 7px; }
.whl-location-products > div { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px dashed #eadfe2; }
.whl-location-products .whl-product-image, .whl-location-products .whl-image-placeholder { width: 32px; height: 32px; font-size: 11px; }
.whl-location-products span { display: grid; gap: 2px; min-width: 0; }
.whl-location-products b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.whl-location-products small { color: #89757c; font-size: 10px; }
.whl-location-products > div > strong { color: var(--whl-brand); font-size: 12px; white-space: nowrap; }
.whl-map-empty { margin: 0; padding: 14px 4px; color: #918087; font-size: 12px; text-align: center; }
.whl-location-photos { display: flex; gap: 7px; overflow: auto; }
.whl-location-photos img { width: 62px; height: 50px; border: 1px solid #eadde1; border-radius: 5px; object-fit: cover; }
.whl-location-modal { width: min(760px, 100%); }
.whl-location-modal-compact { width: min(1080px, 100%); }
.whl-location-modal > header { align-items: flex-start; }
.whl-location-header-actions { display: flex; gap: 8px; align-items: center; }
.whl-location-overview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; padding: 14px 18px; background: #fff; }
.whl-location-modal-compact .whl-location-overview { grid-template-columns: repeat(4, 1fr); padding: 14px 20px 10px; }
.whl-location-modal-compact .whl-location-overview article { min-height: 74px; padding: 10px 12px; }
.whl-location-overview article { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 11px 13px; border: 1px solid #e6dce0; border-radius: 9px; }
.whl-location-overview i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fbebee; color: var(--whl-brand); font-style: normal; font-weight: 800; }
.whl-location-overview span { display: grid; gap: 2px; color: #89767c; font-size: 11px; }
.whl-location-overview b { color: #2d2528; font-size: 17px; }
.whl-location-overview article:last-child b { color: var(--whl-brand); }
.whl-location-stock, .whl-location-management { margin: 0 18px 14px; border: 1px solid #e6dce0; border-radius: 10px; overflow: hidden; background: #fff; }
.whl-location-stock > header, .whl-location-management > header { display: flex; align-items: center; justify-content: space-between; min-height: 43px; padding: 0 15px; border-bottom: 1px solid #eee4e7; background: #fffcfc; }
.whl-location-stock h4, .whl-location-management h4 { margin: 0; font-size: 14px; }
.whl-location-stock h4 em { color: #8b767d; font-size: 12px; font-style: normal; font-weight: 400; }
.whl-location-stock-table { margin-bottom: 12px; }
.whl-location-table-wrap { overflow: auto; }
.whl-location-stock-table table { width: 100%; min-width: 820px; border-collapse: collapse; }
.whl-location-stock-table th, .whl-location-stock-table td { height: 62px; padding: 8px 10px; border-bottom: 1px solid #eee4e7; color: #4d3c42; font-size: 12px; text-align: center; white-space: nowrap; }
.whl-location-stock-table th { height: 42px; background: #fffafa; color: #6a525b; font-weight: 700; }
.whl-location-stock-table tbody tr:last-child td { border-bottom: 0; }
.whl-location-stock-table td:nth-child(2) { min-width: 135px; color: #2e2528; }
.whl-location-stock-table td:nth-child(7) strong { color: var(--whl-brand); font-size: 14px; }
.whl-location-stock-table .whl-location-product-image { width: 42px; height: 42px; margin: 0 auto; }
.whl-location-stock-table .whl-location-product-image .whl-image-placeholder { font-size: 15px; }
.whl-location-empty { height: 96px !important; color: #8d7a80 !important; }
.whl-table-action { min-height: 29px; padding: 4px 10px; border: 1px solid #dfc4cc; border-radius: 6px; background: #fff; color: var(--whl-brand); cursor: pointer; font: inherit; }
.whl-table-action:hover { border-color: var(--whl-brand); background: #fff5f7; }
.whl-location-add-modal { width: min(640px, 100%); }
.whl-location-add-modal form > footer { display: flex; align-items: center; gap: 8px; padding: 15px 21px 20px; border-top: 1px solid #eee3e6; }
.whl-location-add-modal form > footer > span { flex: 1; }
.whl-location-add-modal .whl-product-match { grid-column: 1 / -1; }
.whl-location-add-modal input[readonly] { background: #faf6f7; color: #78656d; }
.whl-location-popup-list { display: grid; gap: 0; padding: 0 15px; }
.whl-location-popup-list article { display: grid; grid-template-columns: 56px 1fr 128px; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px dashed #eadfe2; }
.whl-location-popup-list article:last-child { border-bottom: 0; }
.whl-location-product-image { display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden; border: 1px solid #e6dce0; border-radius: 7px; background: #f8f2f4; }
.whl-location-product-image .whl-product-image { width: 100%; height: 100%; object-fit: cover; }
.whl-location-product-image .whl-image-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--whl-brand); font-size: 21px; font-weight: 800; }
.whl-location-popup-list article span { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 13px; row-gap: 4px; align-items: center; }
.whl-location-popup-list article span b { grid-column: 1 / -1; color: #2c2427; font-size: 15px; }
.whl-location-popup-list article small, .whl-location-popup-list p { color: #88747b; font-size: 12px; }
.whl-location-popup-list article strong { display: grid; gap: 2px; padding: 8px 9px; border: 1px solid #e8dde1; border-radius: 8px; color: var(--whl-brand); font-size: 20px; line-height: 1.05; }
.whl-location-popup-list article strong small { color: #76646b; font-size: 11px; font-weight: 400; }
.whl-location-popup-list article strong em { color: #8d7a80; font-size: 10px; font-style: normal; font-weight: 400; white-space: nowrap; }
.whl-location-popup-list > p { margin: 0; padding: 20px 4px; text-align: center; }
.whl-location-management > div { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 11px; padding: 13px 15px; }
.whl-location-management > div span { display: grid; gap: 4px; min-width: 0; padding: 0 11px; border-right: 1px solid #eee5e7; color: #8b777e; font-size: 11px; }
.whl-location-management > div span:first-child { padding-left: 0; }
.whl-location-management > div span:last-child { padding-right: 0; border-right: 0; }
.whl-location-management > div b { overflow: hidden; color: #3b3034; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.whl-location-modal > .whl-location-photos { margin: 0 21px 17px; }
.whl-location-management .whl-location-photos { padding: 0 15px 13px; }
.whl-location-modal > footer { align-items: center; }
.whl-location-modal > footer > span { flex: 1; }
.whl-history-modal { width: min(650px, 100%); }
.whl-history-modal > section { display: grid; gap: 0; padding: 8px 21px 18px; }
.whl-history-modal article { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px dashed #e5dade; font-size: 12px; }
.whl-history-modal article b { color: var(--whl-brand); }
.whl-history-modal article span { color: #78666d; }
.whl-history-modal article strong { color: #34282d; }
.whl-history-modal p { margin: 0; padding: 22px 0; color: #89767c; text-align: center; }
.whl-map-setting-modal { width: min(680px, 100%); }
.whl-map-setting-tip { margin: 14px 21px 0; padding: 10px 12px; border-radius: 8px; background: #fff5ed; color: #8e5a23; font-size: 12px; }
.whl-map-setting-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 13px 18px 18px; }
.whl-map-setting-grid label { display: grid; gap: 6px; color: #6e5a61; font-size: 12px; }
.whl-map-setting-grid textarea { width: 100%; min-height: 44px; resize: vertical; border: 1px solid #dfd2d6; border-radius: 7px; padding: 7px 9px; font: inherit; outline: 0; }
.whl-map-setting-grid textarea:focus { border-color: var(--whl-brand); box-shadow: 0 0 0 3px rgba(167,40,77,.08); }
.whl-map-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.whl-map-actions button { min-width: 0; }
.whl-map-footer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-top: 1px solid #eee2e5; background: #eee2e5; }
.whl-shipment-queue { margin: 0 15px 15px; border: 1px solid #eadde1; border-radius: 9px; background: #fff; overflow: hidden; }
.whl-shipment-queue header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; border-bottom: 1px solid #eee3e6; background: #fff8f9; }
.whl-shipment-queue header div { display: grid; gap: 2px; }
.whl-queue-actions, .whl-task-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.whl-queue-actions .whl-button, .whl-task-actions .whl-button { white-space: nowrap; }
.whl-shipment-queue header b { color: #4d363d; font-size: 13px; }
.whl-shipment-queue header span, .whl-shipment-queue p, .whl-shipment-queue small { color: #8a757d; font-size: 11px; }
.whl-shipment-queue > div { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 1px; background: #f0e7e9; }
.whl-shipment-queue .whl-putaway-task-list { background: #e2ece0; border-bottom: 1px solid #d7e6d3; }
.whl-shipment-queue .whl-putaway-task-list article { background: #fbfdf9; }
.whl-shipment-queue .whl-putaway-task-list b { color: #39703d; }
.whl-shipment-queue article { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 13px; background: #fff; }
.whl-shipment-queue .whl-temporary-task-list { border-top: 1px solid #f0e1cf; background: #f4e5d8; }
.whl-shipment-queue .whl-temporary-task-list article { background: #fffaf4; }
.whl-shipment-queue .whl-exception-task-list { border-top: 1px solid #f1d5d5; background: #f2dede; }
.whl-shipment-queue .whl-exception-task-list article { background: #fff8f8; }
.whl-shipment-queue .whl-exception-task-list b { color: #b03742; }
.whl-shipment-queue article span { display: grid; gap: 3px; min-width: 0; }
.whl-shipment-queue article b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.whl-shipment-queue p { margin: 0; padding: 13px; }
.whl-map-footer div { display: grid; gap: 3px; padding: 11px 15px; background: #fffafa; }
.whl-map-footer b { color: #5f4b52; font-size: 11px; }
.whl-map-footer span { color: #8e7a80; font-size: 11px; }
.whl-scan-modal { width: min(680px, 100%); }
.whl-scan-steps { display: flex; justify-content: center; align-items: center; gap: 13px; padding: 17px; color: #806b72; font-size: 13px; background: #fff9fa; }
.whl-scan-steps b { display: inline-grid; place-items: center; min-height: 30px; padding: 6px 10px; border-radius: 99px; background: #f4e6ea; color: var(--whl-brand); }
.whl-scan-steps i { color: #b4959f; font-style: normal; }
.whl-camera-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 21px 12px; }
.whl-camera-actions small { color: #8b777e; font-size: 11px; }
.whl-camera-stage { margin: 0 21px 4px; overflow: hidden; border: 1px solid #d9c7ce; border-radius: 9px; background: #2c2527; }
.whl-camera-stage video { display: block; width: 100%; max-height: 290px; background: #171214; object-fit: cover; }
.whl-camera-stage > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; color: #fff; font-size: 12px; }
.whl-camera-stage .whl-button { min-height: 30px; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.13); color: #fff; }
@media (max-width: 1250px) { .whl-overview { grid-template-columns: repeat(2, minmax(220px, 1fr)); } .whl-toolbar, .whl-map-toolbar { grid-template-columns: 1fr 1fr; } .whl-actions { grid-column: 1 / -1; justify-content: flex-start; } .whl-map-layout { grid-template-columns: 1fr; } .whl-map-detail { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .whl-tabs { grid-template-columns: repeat(5, 145px); overflow-x: auto; } .whl-overview { grid-template-columns: 1fr; } .whl-toolbar, .whl-map-toolbar { grid-template-columns: 1fr; } .whl-actions { grid-column: auto; justify-content: flex-start; } .whl-form-grid { grid-template-columns: 1fr; } .whl-form-grid label.wide { grid-column: auto; } .whl-map-layout { padding: 8px; } .whl-real-floorplan { min-width: 600px; } .whl-rack-quick { min-width: 600px; } .whl-rack-quick > div { grid-template-columns: 1fr; } .whl-map-workspace { overflow-x: auto; } .whl-map-footer { grid-template-columns: 1fr; } .whl-location-modal-compact .whl-location-overview { grid-template-columns: repeat(2, 1fr); } .whl-map-setting-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .whl-map-setting-grid { grid-template-columns: 1fr; } }
