/* Чуем · Приход на склад V2 · approved Figma section 773:166 */
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2 * {
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2 {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: calc(100vh - 174px);
  overflow: hidden;
  border: 1px solid #d6e1ee;
  border-radius: 14px;
  background: #ffffff;
  color: #14233f;
  box-shadow: 0 8px 26px rgba(29, 58, 96, 0.07);
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2 button,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2 input {
  font: inherit;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2 button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #cfdae8;
  border-radius: 8px;
  background: #ffffff;
  color: #243653;
  cursor: pointer;
  font-size: 10px;
  font-weight: 650;
  transition: border-color 150ms ease, box-shadow 150ms ease, color 150ms ease, transform 150ms ease;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2 button:hover:not(:disabled) {
  border-color: #7aa6e8;
  color: #245ac7;
  box-shadow: 0 6px 16px rgba(44, 91, 174, 0.1);
  transform: translateY(-1px);
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2 button:focus-visible,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2 input:focus-visible {
  outline: 3px solid rgba(49, 95, 211, 0.16);
  outline-offset: 1px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2 button:disabled {
  cursor: default;
  opacity: 0.44;
  transform: none;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2 button.primary {
  border-color: #315fd3;
  background: #315fd3;
  color: #ffffff;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2 button.danger {
  border-color: #edb4be;
  color: #c63f58;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-form {
  display: flex;
  min-height: calc(100vh - 174px);
  flex-direction: column;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-head {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(450px, 520px);
  gap: 28px;
  align-items: start;
  padding: 18px 22px 14px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-back {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #315fd3;
  box-shadow: none;
  font-size: 10px;
  font-weight: 600;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-back:hover:not(:disabled) {
  border: 0;
  box-shadow: none;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-head h2 {
  margin: 12px 0 3px;
  color: #14233f;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.15;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-head p,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-section-head p {
  margin: 0;
  color: #71829b;
  font-size: 10.5px;
  font-weight: 450;
  line-height: 1.45;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-meta {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 142px;
  gap: 9px 18px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-meta label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-meta label.comment {
  grid-column: 1 / -1;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-meta span {
  color: #6c7f9c;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-meta b {
  display: flex;
  align-items: center;
  min-height: 34px;
  color: #20324f;
  font-size: 10.5px;
  font-weight: 650;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2 .field {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #cfdae8;
  border-radius: 8px;
  outline: 0;
  background: #f7faff;
  color: #20324f;
  box-shadow: none;
  font-size: 10px;
  font-weight: 500;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2 .field::placeholder {
  color: #8797ad;
  opacity: 1;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2 .field:focus {
  border-color: #5483df;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(49, 95, 211, 0.1);
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-tabs {
  display: flex;
  align-items: end;
  gap: 42px;
  height: 48px;
  margin: 0 22px;
  border-bottom: 1px solid #dbe4ef;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-tabs button {
  position: relative;
  min-width: 72px;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #6d7f9a;
  box-shadow: none;
  font-size: 11px;
  font-weight: 550;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-tabs button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #b8c5d6;
  content: "";
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-tabs button.active {
  color: #14233f;
  font-weight: 700;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-tabs button.active::after {
  background: #315fd3;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-tabs button:hover:not(:disabled) {
  border: 0;
  color: #315fd3;
  box-shadow: none;
  transform: translateY(-2px);
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-tabs button.review {
  margin-left: auto;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-mode-panel,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-review {
  display: grid;
  gap: 14px;
  flex: 1 1 auto;
  align-content: start;
  min-height: 360px;
  padding: 20px 22px 18px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-section-head h3,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-scanner-head h3 {
  margin: 0 0 4px;
  color: #14233f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-scanner-head {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #abc4ee;
  border-radius: 9px;
  background: #edf4ff;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-scanner-head > div > small {
  display: block;
  margin-bottom: 5px;
  color: #315fd3;
  font-size: 8px;
  font-weight: 700;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-scanner-head p {
  margin: 0;
  color: #667b99;
  font-size: 9.5px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(76px, 1fr));
  min-width: 250px;
  overflow: hidden;
  border: 1px solid #d6e2f0;
  border-radius: 8px;
  background: #ffffff;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-metrics span {
  display: grid;
  min-height: 52px;
  place-content: center;
  border-left: 1px solid #e2e9f2;
  text-align: center;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-metrics span:first-child {
  border-left: 0;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-metrics b {
  color: #182b49;
  font-size: 17px;
  font-weight: 750;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-metrics b.bad,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-footer span.bad,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-review-metrics b.bad {
  color: #d6425c;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-metrics small {
  color: #7b8ba2;
  font-size: 8px;
  font-weight: 500;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-scan-control {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-scan-control label {
  display: grid;
  gap: 5px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-scan-control label > span {
  color: #667b99;
  font-size: 8px;
  font-weight: 650;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-scan-control .field {
  min-height: 42px;
  border-color: #6e9ae6;
  background: #ffffff;
  font-size: 14px;
  font-weight: 650;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-scan-control button {
  min-height: 42px;
  border-color: #315fd3;
  color: #315fd3;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-scan-status {
  display: grid;
  gap: 2px;
  min-height: 44px;
  padding: 9px 12px;
  border-left: 3px solid #9bacc2;
  background: #f4f7fb;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-scan-status.success {
  border-left-color: #2f9c78;
  background: #edf9f4;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-scan-status.error {
  border-left-color: #e14961;
  background: #fff2f4;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-scan-status b {
  color: #20324f;
  font-size: 10.5px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-scan-status span {
  color: #6f8098;
  font-size: 9px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-inline-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-unresolved,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-file-errors,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-errors {
  overflow: hidden;
  border: 1px solid #efadba;
  border-radius: 9px;
  background: #fff8f9;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-unresolved h4,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-file-errors h4 {
  margin: 0;
  padding: 9px 12px;
  border-bottom: 1px solid #f2cbd2;
  color: #b7354d;
  font-size: 10px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-unresolved article {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 9px 12px;
  border-top: 1px solid #f4d9de;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-unresolved article:first-of-type {
  border-top: 0;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-unresolved article > div:first-child {
  display: grid;
  gap: 2px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-unresolved article > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-unresolved b {
  color: #263853;
  font-size: 10px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-unresolved span {
  color: #a23b4e;
  font-size: 9px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-unresolved button {
  min-height: 28px;
  padding: 0 9px;
  font-size: 8.5px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  gap: 10px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-toolbar label {
  position: relative;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-toolbar label > span {
  position: absolute;
  top: 50%;
  left: 11px;
  z-index: 1;
  width: 13px;
  height: 13px;
  color: #6680a5;
  transform: translateY(-50%);
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-toolbar label .field {
  padding-left: 34px;
  background: #ffffff;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-toolbar button.active {
  border-color: #8fb0e7;
  background: #edf4ff;
  color: #315fd3;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table-scroll {
  max-height: min(48vh, 470px);
  overflow: auto;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #ffffff;
  overscroll-behavior: contain;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table th,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table td {
  padding: 7px 11px;
  border-bottom: 1px solid #e1e8f1;
  color: #263853;
  font-size: 9.5px;
  line-height: 1.25;
  text-align: left;
  vertical-align: middle;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #eaf0f7;
  color: #617590;
  font-size: 8px;
  font-weight: 650;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table th:nth-child(1) { width: 40%; }
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table th:nth-child(2) { width: 20%; }
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table th:nth-child(3) { width: 10%; text-align: center; }
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table th:nth-child(4) { width: 18%; text-align: center; }
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table th:nth-child(5) { width: 12%; text-align: center; }

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table tbody tr:last-child td {
  border-bottom: 0;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table td b,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table td small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table td b {
  color: #1e304b;
  font-size: 9.5px;
  font-weight: 650;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table td small {
  margin-top: 3px;
  color: #7687a0;
  font-size: 8px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table td.num {
  color: #20324f;
  font-weight: 650;
  text-align: center;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table td.warehouse-receipt-v2-after {
  color: #218061;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table tr.invalid td {
  background: #fff8f9;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-table td em {
  display: block;
  margin-top: 3px;
  color: #df405d;
  font-size: 7.5px;
  font-style: normal;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-stepper {
  display: grid;
  grid-template-columns: 28px minmax(52px, 1fr) 28px;
  width: 112px;
  margin: auto;
  overflow: hidden;
  border: 1px solid #cfdae8;
  border-radius: 7px;
  background: #ffffff;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-stepper button {
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #315fd3;
  box-shadow: none;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-stepper .field {
  min-height: 30px;
  padding: 0 3px;
  border: 0;
  border-right: 1px solid #e2e9f2;
  border-left: 1px solid #e2e9f2;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-stepper input::-webkit-outer-spin-button,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-stepper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-empty {
  display: grid;
  min-height: 220px;
  place-content: center;
  gap: 6px;
  border: 1px solid #e0e8f1;
  border-radius: 9px;
  background: #eef3f9;
  text-align: center;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-empty b {
  color: #20324f;
  font-size: 11px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-empty span {
  color: #788ba4;
  font-size: 9px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-list-note,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-review-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #edf3fa;
  color: #6b7e99;
  font-size: 8px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-excel-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(300px, 0.8fr);
  gap: 16px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-drop,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-excel-guide {
  display: grid;
  min-height: 210px;
  place-content: center;
  justify-items: center;
  padding: 20px;
  border: 1px solid #d9e4ef;
  border-radius: 10px;
  background: #edf3fa;
  text-align: center;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-drop.dragging {
  border-color: #315fd3;
  box-shadow: inset 0 0 0 2px rgba(49, 95, 211, 0.12);
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-drop.error {
  border-color: #e95970;
  background: #fff7f8;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-drop.success {
  border-color: #83c9ae;
  background: #eff9f5;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-drop > span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  place-content: center;
  border: 1px solid #b7cbe4;
  border-radius: 10px;
  background: #ffffff;
  color: #315fd3;
  font-size: 9px;
  font-weight: 750;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-drop b,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-excel-guide > b {
  color: #20324f;
  font-size: 11px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-drop p {
  margin: 5px 0 14px;
  color: #7588a2;
  font-size: 9px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-excel-guide {
  place-content: center start;
  justify-items: stretch;
  background: #ffffff;
  text-align: left;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-excel-guide ol {
  display: grid;
  gap: 9px;
  margin: 14px 0 18px;
  padding-left: 20px;
  color: #667b98;
  font-size: 9px;
  line-height: 1.35;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-file-errors p,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-errors p {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  margin: 0;
  padding: 8px 12px;
  border-top: 1px solid #f1d6db;
  color: #8d3345;
  font-size: 9px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-file-errors p:first-of-type,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-errors p:first-child {
  border-top: 0;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-replace {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px 18px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #edcf86;
  border-radius: 10px;
  background: #fff8e8;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-replace > div {
  display: grid;
  gap: 3px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-replace small {
  color: #9b7519;
  font-size: 7.5px;
  font-weight: 650;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-replace b {
  color: #2b3a52;
  font-size: 12px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-replace > i {
  color: #315fd3;
  font-style: normal;
  font-weight: 750;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-replace > p,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-replace > div:last-child {
  grid-column: 1 / -1;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-replace > p {
  margin: 0;
  color: #806522;
  font-size: 8.5px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-replace > div:last-child {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 8px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-review-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  overflow: hidden;
  border: 1px solid #dce5ef;
  border-radius: 9px;
  background: #edf3fa;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-review-metrics span {
  display: grid;
  gap: 3px;
  min-height: 58px;
  place-content: center;
  border-left: 1px solid #dce5ef;
  text-align: center;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-review-metrics span:first-child {
  border-left: 0;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-review-metrics small {
  color: #72859f;
  font-size: 8px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-review-metrics b {
  color: #20324f;
  font-size: 14px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-review-metrics b.good {
  color: #258261;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-restored,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-global-error,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-readonly {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin: 0 22px 10px;
  padding: 10px 12px;
  border: 1px solid #a9dbc7;
  border-radius: 9px;
  background: #ecf8f3;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-restored > div,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-global-error {
  min-width: 0;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-restored b,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-restored span,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-global-error b,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-global-error span,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-readonly b,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-readonly span {
  display: block;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-restored b,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-readonly b {
  color: #227254;
  font-size: 10px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-restored span,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-readonly span {
  margin-top: 2px;
  color: #5e7f73;
  font-size: 8.5px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-global-error,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-readonly {
  grid-template-columns: minmax(260px, 1fr) auto;
  border-color: #edb4be;
  background: #fff3f5;
  color: #a6344a;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-global-error.critical {
  border-color: #e34b65;
  background: #ffecef;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-global-error b,
#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-global-error span {
  grid-column: 1;
  font-size: 9px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-global-error button {
  grid-column: 2;
  grid-row: 1 / span 2;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-footer {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  margin-top: auto;
  padding: 10px 22px;
  border-top: 1px solid #dbe4ef;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-footer > div:first-child {
  display: grid;
  gap: 2px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-footer b {
  color: #20324f;
  font-size: 10px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-footer span {
  color: #637791;
  font-size: 8.5px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-footer > div:last-child {
  display: flex;
  gap: 10px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-footer button {
  min-width: 150px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-confirm {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  padding: 20px;
  place-content: center;
  background: rgba(19, 35, 61, 0.38);
  backdrop-filter: blur(4px);
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-confirm > div {
  display: grid;
  width: min(430px, calc(100vw - 40px));
  justify-items: start;
  padding: 24px;
  border: 1px solid #d8e2ed;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(20, 38, 66, 0.24);
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-confirm > div > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-content: center;
  border-radius: 50%;
  background: #fff4df;
  color: #b87808;
  font-size: 14px;
  font-weight: 700;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-confirm h3 {
  margin: 12px 0 6px;
  color: #182b49;
  font-size: 17px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-confirm p {
  margin: 0 0 16px;
  color: #6b7e98;
  font-size: 10px;
  line-height: 1.45;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-confirm > div > b {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  background: #edf3fa;
  color: #20324f;
  font-size: 14px;
}

#app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-confirm > div > div {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}

@media (max-width: 980px) {
  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-head,
  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-scanner-head,
  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-excel-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-meta {
    grid-template-columns: minmax(0, 1fr) minmax(140px, 0.6fr);
  }

  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-metrics {
    width: 100%;
  }
}

@media (max-width: 720px) {
  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2 {
    min-height: calc(100vh - 140px);
    border-radius: 10px;
  }

  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-form {
    min-height: calc(100vh - 140px);
  }

  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-head,
  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-mode-panel,
  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-review {
    padding-right: 14px;
    padding-left: 14px;
  }

  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-meta,
  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-toolbar,
  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-scan-control {
    grid-template-columns: minmax(0, 1fr);
  }

  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-meta label.comment {
    grid-column: auto;
  }

  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-tabs {
    gap: 22px;
    margin-right: 14px;
    margin-left: 14px;
    overflow-x: auto;
  }

  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-tabs button {
    flex: 0 0 auto;
  }

  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-unresolved article,
  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-restored,
  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-global-error {
    grid-template-columns: minmax(0, 1fr);
  }

  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-unresolved article > div:last-child {
    justify-content: flex-start;
  }

  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-review-metrics {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }

  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-review-metrics span:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #dce5ef;
  }

  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-review-metrics span:nth-child(4) {
    border-top: 1px solid #dce5ef;
  }

  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-footer {
    position: static;
    align-items: stretch;
    flex-direction: column;
    padding-right: 14px;
    padding-left: 14px;
  }

  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-footer > div:last-child,
  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-confirm > div > div {
    flex-direction: column;
  }

  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-footer button,
  #app.warehouse-live-page .sellerpilot-warehouse-live .warehouse-receipt-v2-confirm button {
    width: 100%;
  }
}
