.warehouse-page {
  --wh-bg: #0b151d;
  --wh-panel: linear-gradient(180deg, #111f28, #0b161e);
  --wh-border: #304752;
  --wh-muted: #8799a2;
  --wh-accent: #efa117;
  --wh-green: #39a96b;
  --wh-red: #d84e5a;
  display: grid;
  gap: 12px;
  color: #e0e8eb;
}
.warehouse-page [hidden] {
  display: none !important;
}
.warehouse-modal[hidden],
.warehouse-recognition-modal[hidden],
.warehouse-modal [hidden],
.warehouse-recognition-modal [hidden] {
  display: none !important;
}
.warehouse-page *,
.warehouse-recognition-modal *,
.warehouse-modal * {
  box-sizing: border-box;
}
.warehouse-toolbar,
.warehouse-card {
  border: 1px solid var(--wh-border);
  border-radius: 10px;
  background: var(--wh-panel);
  box-shadow: 0 12px 32px #0002;
}
.warehouse-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(145px, 190px) auto auto auto auto;
  gap: 9px;
  align-items: center;
  padding: 11px;
}
.warehouse-toolbar input,
.warehouse-toolbar select,
.warehouse-toolbar button,
.warehouse-tabs button,
.warehouse-row-actions button,
.warehouse-qty-control button,
.warehouse-qty-control input,
.warehouse-modal input,
.warehouse-modal select,
.warehouse-recognition-toolbar input,
.warehouse-recognition-toolbar select,
.warehouse-recognition-row input,
.warehouse-recognition-row select,
.warehouse-recognition-row button {
  border: 1px solid #3b535f;
  background: #0d1a22;
  color: #e7edef;
  border-radius: 7px;
  font: inherit;
}
.warehouse-toolbar input,
.warehouse-toolbar select,
.warehouse-toolbar button {
  height: 40px;
  padding: 0 11px;
}
.warehouse-toolbar input:focus,
.warehouse-toolbar select:focus,
.warehouse-modal input:focus,
.warehouse-modal select:focus,
.warehouse-qty-control input:focus,
.warehouse-recognition-row input:focus,
.warehouse-recognition-row select:focus {
  outline: 0;
  border-color: #d69720;
  box-shadow: 0 0 0 2px #efa11721;
}
.warehouse-toolbar button,
.warehouse-tabs button,
.warehouse-row-actions button,
.warehouse-qty-control button,
.warehouse-recognition-row button {
  cursor: pointer;
  font-weight: 800;
  transition: border-color .14s, background .14s, color .14s;
}
.warehouse-toolbar button:hover,
.warehouse-tabs button:hover,
.warehouse-row-actions button:hover,
.warehouse-qty-control button:hover,
.warehouse-recognition-row button:hover {
  border-color: #6d8490;
  background: #172a34;
}
.warehouse-toolbar .warehouse-primary,
.warehouse-recognition-save,
.warehouse-modal-submit {
  border-color: #ffc34b;
  background: linear-gradient(180deg, #ffb62b, #ed970e);
  color: #1c1305;
  box-shadow: inset 0 1px #ffe18a;
}
.warehouse-toolbar .warehouse-primary:hover,
.warehouse-recognition-save:hover,
.warehouse-modal-submit:hover {
  border-color: #ffdb72;
  background: linear-gradient(180deg, #ffc146, #f3a018);
  color: #1c1305;
}
.warehouse-region {
  height: 40px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #334b56;
  border-radius: 7px;
  color: #8fa2aa;
  font-size: 13px;
}
.warehouse-region b {
  color: #f0b224;
}
.warehouse-sync-wrap {
  max-width: 220px;
  min-width: 145px;
  display: grid;
  justify-items: end;
  gap: 3px;
}
.warehouse-sync-status {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #72b68b;
  font-size: 11px;
  white-space: nowrap;
}
.warehouse-sync-status.error {
  color: #f1848c;
}
.warehouse-card {
  overflow: hidden;
}
.warehouse-card-head {
  min-height: 61px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #293e49;
}
.warehouse-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.warehouse-heading h2 {
  margin: 0;
  color: #f0ac1d;
  font-size: 20px;
}
.warehouse-heading span {
  color: #8799a2;
  font-size: 13px;
}
.warehouse-tabs {
  display: flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid #2e4550;
  border-radius: 8px;
  background: #09131a;
}
.warehouse-tabs button {
  min-height: 34px;
  padding: 0 14px;
  border-color: transparent;
  background: transparent;
  color: #82949d;
}
.warehouse-tabs button.active {
  border-color: #a87516;
  background: #2a220f;
  color: #ffbd3d;
}
.warehouse-table-wrap {
  overflow: auto;
  max-height: min(64vh, 780px);
  scrollbar-width: thin;
  scrollbar-color: #d8e2e6 #0a141b;
}
.warehouse-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.warehouse-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 37px;
  padding: 0 10px;
  border-bottom: 1px solid #304752;
  background: #0d1921;
  color: #83969f;
  font-size: 11px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .55px;
}
.warehouse-table td {
  height: 55px;
  padding: 5px 10px;
  border-bottom: 1px solid #223741;
  color: #cdd7db;
  vertical-align: middle;
}
.warehouse-table tr:hover td {
  background: #12232c;
}
.warehouse-table tr.selected td {
  background: #1b241c;
  box-shadow: inset 2px 0 #efa117;
}
.warehouse-table th:nth-child(1),
.warehouse-table td:nth-child(1) {
  width: 48px;
}
.warehouse-table th:nth-child(2) {
  width: 43%;
}
.warehouse-table th:nth-child(3) {
  width: 145px;
}
.warehouse-table th:nth-child(4) {
  width: 120px;
}
.warehouse-table th:nth-child(5) {
  width: 90px;
}
.warehouse-table th:nth-child(6) {
  width: 92px;
}
.warehouse-number {
  color: #667d88 !important;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.warehouse-item-cell {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.warehouse-item-cell.readonly {
  cursor: default;
}
.warehouse-item-cell > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.warehouse-item-cell b,
.warehouse-item-cell small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.warehouse-item-cell b {
  color: #e6ecef;
  font-size: 14px;
}
.warehouse-item-cell small {
  color: #738892;
  font-size: 11px;
}
.warehouse-item-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
  border: 1px solid #324b56;
  border-radius: 7px;
  background: linear-gradient(145deg, #172831, #0a161d);
  padding: 3px;
}
.warehouse-item-icon.missing-image {
  opacity: .22;
}
.warehouse-qty-control {
  width: 126px;
  height: 32px;
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  overflow: hidden;
  border: 1px solid #334c57;
  border-radius: 7px;
  background: #0c1820;
}
.warehouse-qty-control button,
.warehouse-qty-control input {
  min-width: 0;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}
.warehouse-qty-control button {
  padding: 0;
  color: #8fa2aa;
  font-size: 17px;
}
.warehouse-qty-control button:first-child {
  border-right: 1px solid #314954;
}
.warehouse-qty-control button:last-child {
  border-left: 1px solid #314954;
}
.warehouse-qty-control input {
  width: 100%;
  padding: 0;
  color: #f0f4f5;
  font-size: 13px;
  appearance: textfield;
}
.warehouse-qty-control input::-webkit-inner-spin-button,
.warehouse-qty-control input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}
.warehouse-price {
  color: #dfb04d !important;
  font-variant-numeric: tabular-nums;
}
.warehouse-price-source-chip {
  padding: 3px 7px;
  border: 1px solid #3c555f;
  border-radius: 999px;
  color: #8ea0a8;
  font-size: 10px;
}
.warehouse-price-source-chip.median {
  border-color: #76591e;
  color: #e4b44f;
}
.warehouse-actions {
  text-align: right;
  white-space: nowrap;
}
.warehouse-actions button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #3b535e;
  border-radius: 6px;
  background: #11222b;
  color: #a7b4ba;
  cursor: pointer;
}
.warehouse-actions button + button {
  margin-left: 4px;
}
.warehouse-actions button.danger:hover {
  border-color: #8e454b;
  background: #2b171b;
  color: #ff8b92;
}
.warehouse-actions button.restore {
  width: auto;
  min-width: 105px;
  padding: 0 10px;
  color: #8bcda4;
}
.warehouse-empty-cell {
  height: 150px !important;
  color: #748994 !important;
  text-align: center !important;
}
.warehouse-trash-actions {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #273d47;
  background: #0b171f;
}
.warehouse-trash-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #3b535e;
  border-radius: 7px;
  background: #12242d;
  color: #a8b6bc;
  font-weight: 800;
  cursor: pointer;
}
.warehouse-trash-actions button.danger {
  border-color: #744047;
  color: #ef9da2;
}
.warehouse-trash-actions button:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.warehouse-modal,
.warehouse-recognition-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  padding: 22px;
  display: grid;
  place-items: center;
  background: #02070dd9;
  backdrop-filter: blur(6px);
}
.warehouse-dialog {
  width: min(650px, 96vw);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid #3c535f;
  border-radius: 12px;
  background: linear-gradient(180deg, #11212a, #0a151d);
  box-shadow: 0 35px 110px #000e;
}
.warehouse-dialog-head,
.warehouse-recognition-head {
  min-height: 78px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #2c424c;
  background: linear-gradient(180deg, #13242d, #0e1b23);
}
.warehouse-dialog-head > div,
.warehouse-recognition-head > div:first-child {
  display: grid;
  gap: 3px;
}
.warehouse-dialog-head span {
  color: #d99a20;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.warehouse-dialog-head b,
.warehouse-recognition-head b {
  color: #edf2f4;
  font-size: 22px;
}
.warehouse-dialog-head small,
.warehouse-recognition-head small {
  color: #82959e;
  font-size: 12px;
}
.warehouse-dialog-head > button,
.warehouse-recognition-head > button {
  width: 38px;
  height: 38px;
  border: 1px solid #405760;
  border-radius: 7px;
  background: #14242d;
  color: #a9b7bd;
  font-size: 23px;
  cursor: pointer;
}
.warehouse-dialog-body {
  padding: 16px 18px;
}
.warehouse-dialog-body label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  color: #a6b3b9;
  font-size: 13px;
  font-weight: 800;
}
.warehouse-modal input,
.warehouse-modal select {
  width: 100%;
  height: 42px;
  padding: 0 11px;
}
.warehouse-search-field {
  position: relative;
}
.warehouse-suggest {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 45px;
  z-index: 4;
  max-height: 260px;
  overflow: auto;
  border: 1px solid #415966;
  border-radius: 8px;
  background: #101f28;
  box-shadow: 0 18px 50px #000a;
}
.warehouse-suggest.open {
  display: block;
}
.warehouse-suggest button {
  width: 100%;
  min-height: 54px;
  padding: 6px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-bottom: 1px solid #273d48;
  background: transparent;
  color: #dfe7ea;
  text-align: left;
  cursor: pointer;
}
.warehouse-suggest button:hover {
  background: #172b35;
}
.warehouse-suggest img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}
.warehouse-suggest span {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.warehouse-suggest b,
.warehouse-suggest small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.warehouse-suggest b {
  font-size: 13px;
}
.warehouse-suggest small,
.warehouse-suggest-empty {
  color: #7e929c;
  font-size: 11px;
}
.warehouse-suggest-empty {
  display: block;
  padding: 12px;
}
.warehouse-picked {
  min-height: 66px;
  margin: 8px 0 13px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #344d58;
  border-radius: 8px;
  background: #0d1a22;
}
.warehouse-picked img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 1px solid #354f5a;
  border-radius: 7px;
  background: #12232c;
  padding: 3px;
}
.warehouse-picked b,
.warehouse-picked small {
  display: block;
}
.warehouse-picked b {
  color: #e1e9ec;
  font-size: 14px;
}
.warehouse-picked small {
  margin-top: 3px;
  color: #83959e;
  font-size: 11px;
}
.warehouse-picked-placeholder {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #354d58;
  border-radius: 7px;
  color: #607782;
  font-size: 23px;
}
.warehouse-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.warehouse-price-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 4px 0 12px;
}
.warehouse-price-choice button {
  min-height: 42px;
  border: 1px solid #3a535e;
  border-radius: 7px;
  background: #0e1c24;
  color: #8fa0a8;
  font-weight: 800;
  cursor: pointer;
}
.warehouse-price-choice button.active {
  border-color: #c68a18;
  background: #2a220f;
  color: #ffbd3a;
}
.warehouse-dialog-foot {
  padding: 12px 18px 16px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px;
  border-top: 1px solid #2a424c;
  background: #0b171f;
}
.warehouse-dialog-foot button {
  height: 43px;
  border: 1px solid #3d555f;
  border-radius: 7px;
  font-weight: 900;
  cursor: pointer;
}
.warehouse-modal-cancel {
  background: #14242d;
  color: #a7b5bb;
}
.warehouse-modal-submit {
  font-size: 14px;
}
.warehouse-recognition-dialog {
  width: min(1500px, 97vw);
  height: min(900px, 94vh);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid #3c535f;
  border-radius: 12px;
  background: #0a151d;
  box-shadow: 0 35px 110px #000e;
}
.warehouse-recognition-toolbar {
  padding: 9px 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #2a404a;
  background: #0d1921;
}
.warehouse-recognition-toolbar select {
  height: 36px;
  padding: 0 9px;
}
.warehouse-recognition-toolbar button {
  min-height: 36px;
  padding: 0 12px;
  font-weight: 800;
  cursor: pointer;
}
.warehouse-recognition-toolbar button.active {
  border-color: #c48a19;
  background: #2b220e;
  color: #ffbd3d;
}
.warehouse-recognition-toolbar button:disabled {
  opacity: .38;
  cursor: not-allowed;
}
.warehouse-recognition-toolbar small {
  color: #7f929b;
  font-size: 12px;
}
.warehouse-recognition-body {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(430px, 1fr);
  gap: 10px;
  padding: 10px;
  overflow: hidden;
}
.warehouse-recognition-shot,
.warehouse-recognition-side {
  min-width: 0;
  min-height: 0;
  border: 1px solid #2f4752;
  border-radius: 8px;
  background: #09131a;
  overflow: hidden;
}
.warehouse-recognition-shot {
  padding: 9px;
  overflow: auto;
}
.warehouse-recognition-drop {
  min-height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  border: 1px dashed #80631f;
  border-radius: 8px;
  color: #84969f;
  text-align: center;
  cursor: pointer;
}
.warehouse-recognition-drop.dragover {
  border-color: #efa117;
  background: #241e0e;
}
.warehouse-recognition-drop b {
  color: #e4ebed;
  font-size: 16px;
}
.warehouse-recognition-drop small {
  max-width: 360px;
  color: #80939d;
  font-size: 12px;
}
.warehouse-recognition-drop-icon {
  color: #efa117;
  font-size: 44px;
}
.warehouse-shot-stage {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: auto;
}
.warehouse-shot-stage img {
  display: block;
  max-width: 100%;
  max-height: calc(94vh - 220px);
  object-fit: contain;
}
.warehouse-shot-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: default;
}
.warehouse-shot-stage canvas.adding-cell {
  cursor: crosshair;
}
.warehouse-recognition-side {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}
.warehouse-recognition-summary {
  min-height: 44px;
  padding: 9px 12px;
  border-bottom: 1px solid #2a424c;
  color: #8ea1a9;
  font-size: 12px;
}
.warehouse-recognition-summary b {
  color: #ffbd38;
}
.warehouse-recognition-results {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 8px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #d8e2e6 #09131a;
}
.warehouse-recognition-row {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto auto auto;
  gap: 7px;
  align-items: center;
  padding: 7px;
  border: 1px solid #82404a;
  border-left: 4px solid var(--wh-red);
  border-radius: 8px;
  background: linear-gradient(145deg, #28151a, #12191d);
}
.warehouse-recognition-row.pending {
  border-color: #9a721e;
  border-left-color: #e2a321;
  background: linear-gradient(145deg, #2b230f, #141810);
}
.warehouse-recognition-row.confirmed {
  border-color: #397454;
  border-left-color: var(--wh-green);
  background: linear-gradient(145deg, #122a1e, #0c1815);
}
.warehouse-recognition-row.presumed {
  border-color: #9e3f49;
  border-left-color: var(--wh-red);
  background: linear-gradient(145deg, #2d1419, #171013);
}
.warehouse-recognition-row.selected {
  box-shadow: inset 0 0 0 1px #efa117;
}
.warehouse-recognition-select {
  min-width: 0;
  display: grid;
  grid-template-columns: 26px 42px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  text-align: left;
}
.warehouse-recognition-select img,
.warehouse-recognition-no-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border: 1px solid #36505b;
  border-radius: 7px;
  background: #0b171e;
  padding: 3px;
}
.warehouse-recognition-no-icon {
  display: grid;
  place-items: center;
  color: #ef8e94;
  font-size: 20px;
}
.warehouse-recognition-number {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid #4a616c;
  border-radius: 6px;
  color: #9eb0b7;
  font-size: 11px;
  font-weight: 900;
}
.warehouse-recognition-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.warehouse-recognition-copy b,
.warehouse-recognition-copy small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.warehouse-recognition-copy b {
  color: #e6ecef;
  font-size: 13px;
}
.warehouse-recognition-copy small {
  color: #bb8c50;
  font-size: 10px;
}
.warehouse-recognition-row.confirmed .warehouse-recognition-copy small {
  color: #84c49c;
}
.warehouse-recognition-size,
.warehouse-recognition-qty {
  display: grid;
  gap: 3px;
  color: #7f939c;
  font-size: 9px;
  text-transform: uppercase;
}
.warehouse-recognition-size {
  grid-template-columns: 1fr 1fr;
}
.warehouse-recognition-size span {
  grid-column: 1 / -1;
}
.warehouse-recognition-row select {
  width: 48px;
  height: 30px;
  padding: 0 4px;
  font-size: 11px;
}
.warehouse-recognition-row input {
  width: 58px;
  height: 30px;
  padding: 0 4px;
  text-align: center;
}
.warehouse-recognition-actions {
  display: flex;
  gap: 5px;
}
.warehouse-recognition-actions button {
  min-height: 30px;
  padding: 0 8px;
  font-size: 10px;
}
.warehouse-recognition-actions button.confirm {
  border-color: #9d731d;
  color: #ffc650;
}
.warehouse-recognition-actions button.confirm.done {
  border-color: #397454;
  background: #11291c;
  color: #91d1a8;
}
.warehouse-recognition-actions button.remove {
  width: 30px;
  padding: 0;
  color: #ef8d93;
}
.warehouse-recognition-editor {
  grid-column: 1 / -1;
  position: relative;
}
.warehouse-recognition-editor input {
  width: 100%;
  height: 34px;
  padding: 0 9px;
  font-size: 12px;
}
.warehouse-recognition-editor > div {
  display: grid;
  max-height: 210px;
  overflow: auto;
  border: 1px solid #38515d;
  border-top: 0;
  border-radius: 0 0 7px 7px;
  background: #0b1820;
}
.warehouse-recognition-editor > div:empty {
  display: none;
}
.warehouse-recognition-editor > div button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 5px 8px;
  border: 0;
  border-bottom: 1px solid #263d47;
  background: transparent;
  color: #dce5e8;
  text-align: left;
}
.warehouse-recognition-editor > div img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}
.warehouse-recognition-editor > div b,
.warehouse-recognition-editor > div small {
  display: block;
}
.warehouse-recognition-editor > div b {
  font-size: 12px;
}
.warehouse-recognition-editor > div small {
  color: #82959e;
  font-size: 10px;
}
.warehouse-recognition-footer {
  min-height: 59px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid #2b424c;
  background: #0b171f;
}
.warehouse-recognition-footer select {
  height: 38px;
  padding: 0 9px;
  border: 1px solid #3a535e;
  border-radius: 7px;
  background: #0e1c24;
  color: #dce5e8;
}
.warehouse-recognition-save {
  min-width: 220px;
  height: 40px;
  padding: 0 14px;
  border-radius: 7px;
  font-weight: 900;
  cursor: pointer;
}
.warehouse-recognition-save:disabled {
  border-color: #354d58 !important;
  background: #13232c !important;
  color: #667b85 !important;
  box-shadow: none;
  cursor: not-allowed;
}
.warehouse-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1600;
  padding: 12px 16px;
  border: 1px solid #3b5662;
  border-radius: 8px;
  background: #11242d;
  color: #e6ecef;
  box-shadow: 0 15px 45px #0007;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: .18s;
}
.warehouse-toast.show {
  opacity: 1;
  transform: none;
}
.warehouse-toast.bad {
  border-color: #8c444b;
  color: #ff9ba1;
}
@media (max-width: 1180px) {
  .warehouse-toolbar {
    grid-template-columns: minmax(200px, 1fr) minmax(145px, 180px) auto auto;
  }
  .warehouse-sync-wrap {
    grid-column: span 2;
  }
  .warehouse-recognition-body {
    grid-template-columns: 1fr;
    overflow: auto;
  }
  .warehouse-recognition-shot {
    min-height: 360px;
  }
  .warehouse-shot-stage img {
    max-height: 52vh;
  }
}
@media (max-width: 760px) {
  .warehouse-toolbar {
    grid-template-columns: 1fr 1fr;
  }
  .warehouse-toolbar input[type="search"] {
    grid-column: 1 / -1;
  }
  .warehouse-sync-wrap {
    grid-column: 1 / -1;
    justify-items: stretch;
  }
  .warehouse-card-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 11px;
  }
  .warehouse-tabs {
    width: 100%;
  }
  .warehouse-tabs button {
    flex: 1;
  }
  .warehouse-table {
    min-width: 760px;
  }
  .warehouse-recognition-modal {
    padding: 6px;
  }
  .warehouse-recognition-dialog {
    width: 100%;
    height: calc(100vh - 12px);
  }
  .warehouse-recognition-head small {
    display: none;
  }
  .warehouse-recognition-body {
    padding: 6px;
  }
  .warehouse-recognition-row {
    grid-template-columns: minmax(170px, 1fr) auto;
  }
  .warehouse-recognition-actions {
    grid-column: 1 / -1;
  }
  .warehouse-modal {
    padding: 8px;
  }
  .warehouse-modal-grid,
  .warehouse-price-choice,
  .warehouse-dialog-foot {
    grid-template-columns: 1fr;
  }
}
