@font-face { font-family: iconfont; src: url("/static/fonts/iconfont.46bbeda.woff2") format("woff2"); font-display: block; }
.warehousing-shell .iconfont { font-family: iconfont !important; font-style: normal; font-weight: 400; line-height: 1; -webkit-font-smoothing: antialiased; }
.warehousing-shell .icon-list::before { content: "\E629"; }
.warehousing-shell .icon-sync::before { content: "\E647"; }
.warehousing-shell .icon-cloud-download::before { content: "\E654"; }
.warehousing-shell .icon-operation::before { content: "\E669"; }

.app-shell.warehousing-shell { position: relative; height: calc(100vh - 3px); grid-template-rows: 68px 0 minmax(0, 1fr); background: var(--ui-primary-pale, #fff7f8); }
.app-shell.warehousing-shell .topbar { height: 60px; align-self: start; }
.app-shell.warehousing-shell .brand img { width: 148px; }
.app-shell.warehousing-shell .primary-nav button { min-width: 68px; padding: 0 14px; font-size: 15px; }
.app-shell.warehousing-shell .nav-home { min-width: 60px !important; font-size: 21px !important; }
.app-shell.warehousing-shell .top-actions { gap: 10px; padding: 0 16px; }
.app-shell.warehousing-shell .top-action { width: 32px; height: 32px; padding: 0; font-size: 17px; }
.app-shell.warehousing-shell .avatar { width: 40px; height: 40px; font-size: 18px; }
.app-shell.warehousing-shell .tab-strip { position: absolute; z-index: 50; top: 68px; right: 25px; left: 25px; width: auto; height: 44px; margin: 0; padding: 2px; border: 0; border-radius: 3px 3px 0 0; background: #fff; box-shadow: none; overflow: visible; }
.app-shell.warehousing-shell .tab-scroll { height: 40px; background: #e5e5e5; }
.app-shell.warehousing-shell .route-tab { width: 120px; min-width: 120px; max-width: 120px; height: 40px; padding: 0 8px; gap: 6px; border: 0; border-radius: 0; background: transparent; color: #555; font-size: 12px; font-weight: 400; }
.app-shell.warehousing-shell .route-tab:hover { color: #555; background: #f7f7f7; }
.app-shell.warehousing-shell .route-tab.active { border: 0; border-radius: 0; background: #fff; color: #555; font-weight: 400; }
.app-shell.warehousing-shell .tab-grid,
.app-shell.warehousing-shell .tab-menu-wrap { width: 40px; height: 40px; flex: 0 0 40px; }
.app-shell.warehousing-shell .tab-grid { border: 0; background: #e5e5e5; color: var(--ui-ink, #343034); font-size: 16px; }
.app-shell.warehousing-shell .workspace-wrap { grid-row: 3; min-height: 0; padding: 0 25px 16px; }
.app-shell.warehousing-shell .workspace { height: 100%; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }

.warehousing-page,
.warehousing-main { position: relative; height: 100%; min-height: 0; }
.warehousing-main { min-width: 0; overflow: hidden; border-radius: 8px; background: #fff; }
.warehousing-inner { position: relative; height: 100%; min-height: 0; padding-top: 44px; display: flex; flex-direction: column; }
.warehousing-toolbar { position: relative; z-index: 40; height: 43px; min-height: 43px; padding: 0 20px .5px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; background: #fff; }
.warehousing-toolbar-left,
.warehousing-toolbar-right { display: flex; align-items: center; min-width: 0; }
.warehousing-toolbar-left { gap: 10px; }
.warehousing-toolbar-right { position: relative; margin-left: auto; }
.warehousing-search { width: 208px; height: 26px; display: flex; align-items: center; }
.warehousing-search input { width: 185px; min-width: 0; height: 26px; padding: 0 8px; border: 1px solid #dcdfe6; border-radius: 3px 0 0 3px; outline: 0; color: #606266; font-size: 12px; }
.warehousing-search button { width: 38px; height: 26px; margin-left: -15px; border: 0; border-radius: 3px; background: var(--ui-primary, #b8202b); color: #fff; }
.warehousing-icon-button { width: 38px; height: 26px; padding: 0; border: 0; background: #fff; color: #606266; }
.warehousing-icon-button:hover { color: var(--ui-accent-ink, #a21c27); }
.warehousing-reset-button { width: 16px; }
.warehousing-tool-wrap { position: relative; display: inline-flex; }
.warehousing-export-button { width: 26px; }
.warehousing-export-button i { font-size: 26px; }
.warehousing-export-menu { position: absolute; z-index: 120; top: 31px; right: 0; width: 126px; padding: 5px 0; border: 1px solid #ebeef5; border-radius: 4px; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.warehousing-export-menu button { width: 100%; height: 30px; padding: 0 14px; border: 0; background: #fff; color: #606266; text-align: left; font-size: 12px; }
.warehousing-export-menu button:hover { background: #f5f7fa; color: var(--ui-accent-ink, #a21c27); }

.warehousing-advanced { position: relative; z-index: 35; height: 97px; min-height: 97px; margin: 12px 20px 0; padding-left: 5px; display: flex; align-content: flex-start; flex-wrap: wrap; overflow: visible; background: #fff; }
.warehousing-filter-field { width: 32%; min-width: 0; height: 32px; flex: 0 0 32%; margin: 0 10px 16px 0; display: flex; align-items: center; }
.warehousing-filter-field:nth-child(3n) { margin-right: 0; }
.warehousing-filter-field > span { width: 80px; flex: 0 0 80px; padding-right: 16px; color: #606266; font-size: 12px; text-align: justify; text-align-last: justify; white-space: nowrap; }
.warehousing-filter-field > select { width: calc(100% - 96px); min-width: 0; height: 32px; padding: 0 8px; border: 1px solid #dcdfe6; border-radius: 3px; background: #fff; color: #606266; font-size: 12px; outline: 0; }
.warehousing-filter-field > select:focus { border-color: var(--ui-primary, #b8202b); }
.warehousing-date-range { width: calc(100% - 96px); min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 14px minmax(0,1fr); align-items: center; gap: 4px; }
.warehousing-date-range input { width: 100%; min-width: 0; height: 32px; padding: 0 6px; border: 1px solid #dcdfe6; border-radius: 3px; color: #606266; font-size: 12px; }
.warehousing-date-range b { color: #909399; font-size: 12px; font-weight: 400; text-align: center; }
.warehousing-multi-select { position: relative; width: calc(100% - 96px); min-width: 0; }
.warehousing-multi-select > button { width: 100%; height: 32px; padding: 0 30px 0 10px; overflow: hidden; border: 1px solid #dcdfe6; border-radius: 3px; background: #fff; color: #606266; text-align: left; }
.warehousing-multi-select > button em { display: block; overflow: hidden; font-size: 12px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.warehousing-multi-select > button i { position: absolute; top: 12px; right: 12px; width: 7px; height: 7px; border-right: 1px solid var(--ui-primary-line, #efd0d5); border-bottom: 1px solid var(--ui-primary-line, #efd0d5); transform: rotate(45deg); }
.warehousing-nature-menu { position: absolute; z-index: 140; top: 36px; right: 0; left: 0; max-height: 236px; padding: 6px 0; overflow-y: auto; border: 1px solid #e4e7ed; border-radius: 4px; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.warehousing-nature-menu label { min-height: 30px; padding: 0 12px; display: flex; align-items: center; gap: 8px; color: #606266; font-size: 12px; }
.warehousing-nature-menu label:hover { background: #f5f7fa; }
.warehousing-nature-menu input { margin: 0; accent-color: var(--ui-primary, #b8202b); }

.warehousing-table-frame { position: relative; flex: 1 1 auto; min-height: 0; margin: 16px 20px 0; overflow: auto; border: 1px solid #ebeef5; }
.warehousing-table { border-collapse: collapse; table-layout: fixed; color: #111; }
.warehousing-table th { position: relative; height: 41px; padding: 0 10px; border-right: 1px solid #fff; border-bottom: 1px solid #ebeef5; background: var(--ui-primary-soft, #fbeaec); color: var(--ui-ink, #343034); font-size: 12px; font-weight: 600; text-align: left; white-space: nowrap; }
.warehousing-table td { height: 40px; padding: 0 10px; border-right: 1px solid #ebeef5; border-bottom: 1px solid #ebeef5; overflow: hidden; color: #111; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.warehousing-table td span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.warehousing-table tr:hover td { background: #f8fbfe; }
.warehousing-table .warehousing-index { width: 40px; min-width: 40px; max-width: 40px; padding: 0; text-align: center; }
.warehousing-table .warehousing-client-name { width: 300px; min-width: 300px; max-width: 300px; }
.warehousing-table .warehousing-sticky-left { position: sticky; z-index: 8; background: var(--ui-primary-soft, #fbeaec); }
.warehousing-table td.warehousing-sticky-left { background: #fff; }
.warehousing-table .warehousing-operation { position: sticky; right: 0; z-index: 10; width: 40px; min-width: 40px; max-width: 40px; padding: 0; overflow: visible; background: #fff; text-align: center; }
.warehousing-table th.warehousing-operation { background: var(--ui-primary-soft, #fbeaec); }
.warehousing-operation > button { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; color: var(--ui-muted, #716a70); font-size: 14px; }
.warehousing-row-menu { position: fixed; z-index: 1000; width: 72px; padding: 5px 0; border: 1px solid #ebeef5; border-radius: 4px; background: #fff; box-shadow: 0 3px 14px rgba(56, 36, 42, .15); }
.warehousing-row-menu button { width: 100%; height: 28px; padding: 0 12px; border: 0; background: #fff; color: #606266; font-size: 12px; text-align: left; }
.warehousing-row-menu button:hover { background: #f5f7fa; color: var(--ui-accent-ink, #a21c27); }
.warehousing-empty { position: absolute; inset: 41px 0 0; display: grid; place-content: center; gap: 9px; color: #909399; text-align: center; background: #fff; font-size: 12px; }
.warehousing-empty-mark { position: relative; width: 38px; height: 28px; margin: auto; border: 2px solid var(--ui-primary-line, #efd0d5); border-radius: 3px; }
.warehousing-empty-mark::after { content: ""; position: absolute; right: 7px; bottom: 6px; left: 7px; height: 2px; background: var(--ui-primary-soft, #fbeaec); box-shadow: 0 -6px var(--ui-primary-soft, #fbeaec); }
.warehousing-loading { width: 22px; height: 22px; margin: auto; border: 2px solid var(--ui-primary-line, #efd0d5); border-top-color: var(--ui-primary, #b8202b); border-radius: 50%; animation: warehousing-spin .7s linear infinite; }
@keyframes warehousing-spin { to { transform: rotate(360deg); } }
.warehousing-bottom { height: 51px; min-height: 51px; margin: 0 20px; display: flex; align-items: center; justify-content: center; }
.warehousing-pagination { display: flex; align-items: center; justify-content: center; gap: 9px; color: #606266; font-size: 12px; }
.warehousing-pagination button { width: 28px; height: 28px; border: 0; background: #f4f6fa; color: #606266; }
.warehousing-pagination button.active { background: var(--ui-primary, #b8202b); color: #fff; }
.warehousing-pagination button:disabled { color: var(--ui-muted, #716a70); }
.warehousing-pagination input { width: 40px; height: 26px; border: 1px solid #dcdfe6; border-radius: 3px; text-align: center; }
.warehousing-page-more { width: 18px; text-align: center; }

.warehousing-modal-backdrop { position: fixed; z-index: 680; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(45, 41, 45, .38); }
.warehousing-detail-dialog { width: min(1120px, calc(100vw - 36px)); height: min(650px, calc(100dvh - 36px)); display: grid; grid-template-rows: 46px 42px minmax(0, 1fr); border-radius: 4px; background: #fff; box-shadow: 0 12px 40px rgba(56, 36, 42, .24); }
.warehousing-detail-dialog > header { padding: 0 14px 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ebeef5; }
.warehousing-detail-dialog > header strong { color: var(--ui-accent-ink, #a21c27); font-size: 14px; font-weight: 500; }
.warehousing-detail-dialog > header button { width: 30px; height: 30px; border: 0; background: transparent; color: #909399; font-size: 22px; }
.warehousing-detail-dialog > nav { padding: 0 22px; display: flex; align-items: flex-end; gap: 28px; border-bottom: 1px solid #ebeef5; }
.warehousing-detail-dialog > nav button { height: 42px; padding: 0 3px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #606266; font-size: 13px; }
.warehousing-detail-dialog > nav button.active { border-bottom-color: var(--ui-primary, #b8202b); color: var(--ui-accent-ink, #a21c27); }
.warehousing-detail-body { min-height: 0; padding: 22px 28px; overflow: auto; }
.warehousing-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; row-gap: 14px; }
.warehousing-detail-field { min-width: 0; display: grid; grid-template-columns: 146px minmax(0, 1fr); align-items: center; }
.warehousing-detail-field > span { padding-right: 14px; color: #606266; font-size: 12px; text-align: right; }
.warehousing-detail-field input { width: 100%; min-width: 0; height: 34px; padding: 0 10px; border: 1px solid #e4e7ed; border-radius: 3px; background: #f5f7fa; color: #606266; font-size: 12px; }
.warehousing-related-table { overflow: auto; border: 1px solid #ebeef5; }
.warehousing-related-table table { width: 100%; min-width: 900px; border-collapse: collapse; table-layout: fixed; }
.warehousing-related-table th,
.warehousing-related-table td { height: 40px; padding: 0 10px; overflow: hidden; border-right: 1px solid #ebeef5; border-bottom: 1px solid #ebeef5; color: #606266; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.warehousing-related-table th { background: var(--ui-primary-soft, #fbeaec); color: var(--ui-ink, #343034); text-align: left; }

@media (max-width: 820px) {
  .app-shell.warehousing-shell { height: auto; grid-template-rows: 60px 46px minmax(calc(100dvh - 106px), auto); }
  .app-shell.warehousing-shell .tab-strip { position: static; width: 100%; height: 46px; padding: 0; border-radius: 0; }
  .app-shell.warehousing-shell .tab-scroll { height: 46px; }
  .app-shell.warehousing-shell .route-tab { width: 130px; min-width: 130px; height: 44px; }
  .app-shell.warehousing-shell .workspace-wrap { padding: 0; }
  .app-shell.warehousing-shell .workspace { min-height: calc(100dvh - 106px); }
  .warehousing-main { min-height: calc(100dvh - 106px); border-radius: 0; }
  .warehousing-inner { padding-top: 0; }
  .warehousing-toolbar { padding: 9px 10px; align-items: center; }
  .warehousing-search { flex: 1; width: auto; }
  .warehousing-toolbar-left { min-width: 0; }
  .warehousing-advanced { height: auto; min-height: 240px; margin: 10px; padding: 0; }
  .warehousing-filter-field { width: 100%; flex-basis: 100%; margin-right: 0; }
  .warehousing-table-frame { min-height: 440px; margin: 10px 10px 0; }
  .warehousing-bottom { margin: 0 10px; overflow-x: auto; justify-content: flex-start; }
  .warehousing-pagination { min-width: 380px; }
  .warehousing-detail-dialog { width: calc(100vw - 20px); height: calc(100dvh - 20px); }
  .warehousing-detail-body { padding: 16px 12px; }
  .warehousing-detail-grid { grid-template-columns: 1fr; row-gap: 10px; }
  .warehousing-detail-field { grid-template-columns: 118px minmax(0, 1fr); }
}
