/* web/warehouse.css */
.warehouse-page {
  max-width: 1440px;
  margin: auto;
  color: #172423;
}
.warehouse-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.warehouse-heading h1 {
  margin: 8px 0;
  font-size: 30px;
}
.warehouse-page p {
  color: #61706c;
  line-height: 1.8;
  font-size: 14px;
}
.warehouse-page .eyebrow {
  color: #486d60;
  letter-spacing: 2px;
}
.warehouse-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #dce4e0;
  margin-bottom: 26px;
  overflow: auto;
}
.warehouse-tabs button {
  white-space: nowrap;
  padding: 12px 3px;
  border-bottom: 3px solid transparent;
  font-size: 14px;
}
.warehouse-tabs button[aria-current=page] {
  border-color: #27684e;
  color: #21573f;
  font-weight: 700;
}
.warehouse-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.warehouse-stats > button,
.warehouse-stats > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  text-align: left;
  padding: 22px;
  border: 1px solid #dce4e0;
  border-radius: 12px;
  gap: 12px;
  background: #fff;
}
.warehouse-stats svg {
  color: #3b705a;
}
.warehouse-stats span {
  font-size: 14px;
  color: #53675d;
}
.warehouse-stats strong {
  font-size: 34px;
  line-height: 1.1;
}
.warehouse-stats small {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #65746c;
  font-size: 12px;
}
.warehouse-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.warehouse-card {
  border: 1px solid #dce4e0;
  border-radius: 12px;
  padding: 24px;
  background: white;
  min-width: 0;
}
.warehouse-card h2 {
  font-size: 18px;
  margin: 0;
}
.warehouse-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.warehouse-card-title > span {
  font-size: 12px;
  background: #eef4f0;
  padding: 5px 9px;
  border-radius: 5px;
  color: #476951;
}
.warehouse-action {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  padding: 18px 0;
  border-bottom: 1px solid #e8edea;
  gap: 14px;
}
.warehouse-action > span:nth-child(2) {
  flex: 1;
}
.warehouse-action-icon {
  background: #edf3ef;
  padding: 12px;
  border-radius: 9px;
  color: #326347;
}
.warehouse-action strong,
.warehouse-action small {
  display: block;
}
.warehouse-action strong {
  font-size: 15px;
}
.warehouse-action small {
  font-size: 12px;
  color: #627369;
  margin-top: 7px;
  line-height: 1.6;
}
.warehouse-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.8;
  color: #5b7064;
  padding-top: 20px;
}
.warehouse-note svg {
  flex-shrink: 0;
}
.warehouse-roadmap {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.warehouse-roadmap li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  font-size: 14px;
}
.warehouse-roadmap b {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #f0f4f1;
  color: #466552;
  font-size: 12px;
  flex-shrink: 0;
}
.warehouse-roadmap small {
  margin-left: auto;
  font-size: 11px;
  color: #68766d;
  white-space: nowrap;
}
.warehouse-integrations {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.warehouse-integrations > div {
  flex: 1;
}
.warehouse-integrations > span {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.warehouse-integrations small {
  color: #718077;
}
.warehouse-page .primary {
  background: #265f46;
  border-color: #265f46;
  color: white;
}
.warehouse-page .secondary {
  border-color: #c3d2c8;
  color: #365740;
}
.warehouse-form {
  margin: 20px 0;
  padding: 20px;
  background: #f5f8f6;
  border-radius: 9px;
}
.warehouse-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.warehouse-form h3 {
  margin: 0 0 20px;
  font-size: 16px;
}
.warehouse-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.warehouse-form input,
.warehouse-form select {
  width: 100%;
  min-width: 0;
  border: 1px solid #c3d2c8;
  border-radius: 6px;
  background: #fff;
  padding: 11px;
}
.warehouse-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #c3d2c8;
  border-radius: 7px;
  max-width: 420px;
  margin: 22px 0;
  padding: 0 12px;
}
.warehouse-search input {
  border: 0;
  background: none;
  padding: 12px 0;
  width: 100%;
  min-width: 0;
}
.warehouse-page td {
  border-color: #e2e9e4;
  padding: 16px;
}
.warehouse-page th {
  background: #f6f8f6;
  padding: 14px 16px;
}
.warehouse-activity {
  list-style: none;
  padding: 0;
}
.warehouse-activity li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #e2e9e4;
}
.warehouse-activity small {
  display: block;
  color: #67766c;
  font-size: 12px;
  margin-top: 8px;
}
.warehouse-page .empty {
  color: #65776b;
}
.warehouse-page .table-wrap {
  max-width: 100%;
}
@media (max-width: 1000px) {
  .warehouse-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .warehouse-columns {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .warehouse-heading {
    align-items: flex-start;
  }
  .warehouse-heading h1 {
    font-size: 25px;
  }
  .warehouse-heading p {
    max-width: 220px;
  }
  .warehouse-heading > .secondary {
    font-size: 12px;
    white-space: nowrap;
  }
  .warehouse-stats {
    gap: 10px;
  }
  .warehouse-stats > button,
  .warehouse-stats > div {
    padding: 15px;
  }
  .warehouse-stats strong {
    font-size: 28px;
  }
  .warehouse-card {
    padding: 18px;
  }
  .warehouse-form-grid {
    grid-template-columns: 1fr;
  }
  .warehouse-tabs {
    gap: 20px;
  }
  .warehouse-roadmap li {
    flex-wrap: wrap;
  }
  .warehouse-integrations {
    align-items: flex-start;
  }
  .warehouse-integrations > div {
    flex-basis: 100%;
  }
}
.warehouse-files h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.warehouse-files input,
.warehouse-files select,
.warehouse-files textarea {
  max-width: 100%;
}
.warehouse-files code {
  display: block;
  max-width: 240px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.warehouse-file-date {
  display: block;
  color: #63746a;
  font-size: 12px;
  margin-top: 7px;
}
.warehouse-files td {
  white-space: normal;
  min-width: 160px;
}
.warehouse-files a {
  color: #265f46;
  text-decoration: underline;
}
.warehouse-page .table-wrap {
  overflow-x: auto;
  min-width: 0;
  overscroll-behavior-x: contain;
}
.warehouse-workspace .warehouse-page {
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  color: #1f2937;
}
.warehouse-workspace .warehouse-columns {
  grid-template-columns: 1fr;
}
.warehouse-workspace .warehouse-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.warehouse-workspace .warehouse-card,
.warehouse-workspace .warehouse-stats > button {
  border-color: #e5e7eb;
}
.warehouse-workspace .warehouse-page .primary {
  background: #fff;
  color: #000;
  border-color: #d1d5db;
}
.warehouse-workspace .warehouse-page .secondary {
  color: #374151;
  border-color: #d1d5db;
}
.warehouse-workspace .warehouse-form {
  background: #f5f6f8;
}
.warehouse-workspace .warehouse-form input,
.warehouse-workspace .warehouse-form select,
.warehouse-workspace .warehouse-search {
  border-color: #d1d5db;
}
.warehouse-workspace .warehouse-page p {
  color: #697586;
}
.warehouse-workspace .warehouse-stats svg {
  color: #475569;
}
.warehouse-workspace .channel-person > svg {
  flex-shrink: 0;
  color: #7b8797;
}
@media (min-width: 1600px) {
  .warehouse-workspace .warehouse-columns {
    grid-template-columns: 1fr 1fr;
  }
  .warehouse-workspace .warehouse-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.warehouse-workspace .warehouse-card-title > span,
.warehouse-workspace .warehouse-action-icon,
.warehouse-workspace .warehouse-roadmap b {
  background: #eef2f6;
  color: #475569;
}
.warehouse-workspace .warehouse-stats span,
.warehouse-workspace .warehouse-stats small,
.warehouse-workspace .warehouse-action small,
.warehouse-workspace .warehouse-note,
.warehouse-workspace .warehouse-roadmap small,
.warehouse-workspace .warehouse-integrations small,
.warehouse-workspace .warehouse-activity small,
.warehouse-workspace .warehouse-file-date,
.warehouse-workspace .warehouse-page .empty {
  color: #697586;
}
.warehouse-workspace .warehouse-action,
.warehouse-workspace .warehouse-activity li,
.warehouse-workspace .warehouse-page td {
  border-color: #e5e7eb;
}
.warehouse-workspace .warehouse-page th {
  background: #f6f7f9;
}
.warehouse-workspace .warehouse-files a {
  color: #334155;
}
.warehouse-form .warehouse-evidence-choice > label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.65;
}
.warehouse-form .warehouse-evidence-choice input[type=radio] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 4px 0 0;
  flex: 0 0 auto;
}
.warehouse-evidence-choice > label > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.warehouse-evidence-choice {
  padding: 8px 0;
}
.warehouse-evidence-choice > button {
  margin-left: 28px;
}
.warehouse-form label.warehouse-photo-confirm {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
}
.warehouse-form .warehouse-photo-confirm input[type=checkbox] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  margin: 3px 0;
  box-shadow: none;
}
.warehouse-integrated-label {
  display: flex;
  gap: 3mm;
  align-items: center;
  width: 60mm;
  min-height: 40mm;
  box-sizing: border-box;
  padding: 2mm;
  background: #fff;
  color: #000;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.warehouse-label-qr img {
  display: block;
  width: 27mm;
  height: 27mm;
  image-rendering: pixelated;
}
.warehouse-label-linear {
  display: none;
}
.warehouse-print-code128 .warehouse-label-qr {
  display: none;
}
.warehouse-print-code128 .warehouse-label-linear {
  display: block;
  width: 56mm;
}
.warehouse-print-code128 .warehouse-integrated-label {
  flex-direction: column;
}
.warehouse-label-linear svg {
  width: 56mm;
  height: 12mm;
}
@media print {
  @page {
    size: 60mm 40mm;
    margin: 0;
  }
  body:has(.warehouse-label-preview) * {
    visibility: hidden;
  }
  .warehouse-label-preview .warehouse-integrated-label,
  .warehouse-label-preview .warehouse-integrated-label * {
    visibility: visible;
  }
  .warehouse-label-preview .warehouse-integrated-label {
    position: fixed;
    left: 0;
    top: 0;
    height: 40mm;
    margin: 0;
  }
  .warehouse-label-preview .no-print {
    display: none;
  }
}
.warehouse-integrated-workflow form {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}
.warehouse-integrated-workflow label {
  display: block;
  margin: 10px 0;
}
.warehouse-integrated-workflow details {
  margin: 12px 0;
}
.warehouse-integrated-workflow > p {
  margin: 12px 0;
}
.warehouse-integrated-workflow > button {
  margin: 6px 8px 6px 0;
}
.warehouse-integrated-label {
  height: 40mm;
  max-height: 40mm;
  overflow: hidden;
}
.warehouse-integrated-label > div:last-child {
  flex: 1;
  min-width: 0;
}
.warehouse-integrated-label strong,
.warehouse-integrated-label p,
.warehouse-integrated-label small {
  font-size: 8pt;
  line-height: 1.15;
  margin: 0;
}
.warehouse-integrated-label strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.warehouse-label-preview .no-print input[type=checkbox] {
  width: auto;
  margin: 0 8px;
}
html body #root .warehouse-label-preview .warehouse-integrated-label strong,
html body #root .warehouse-label-preview .warehouse-integrated-label p,
html body #root .warehouse-label-preview .warehouse-integrated-label small {
  font-size: 8pt !important;
  line-height: 1.15;
  margin: 0;
}
@media print {
  body:has(.warehouse-label-preview) {
    width: 60mm;
    height: 40mm;
    margin: 0;
    overflow: hidden;
  }
  body:has(.warehouse-label-preview) *:has(.warehouse-label-preview) {
    display: contents !important;
  }
  body:has(.warehouse-label-preview) *:not(:has(.warehouse-label-preview)):not(.warehouse-label-preview):not(.warehouse-label-preview *) {
    display: none !important;
  }
  .warehouse-label-preview {
    display: block;
    width: 60mm;
    height: 40mm;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .warehouse-label-preview .warehouse-integrated-label {
    position: absolute;
  }
}
.warehouse-integrated-label .warehouse-label-model,
.warehouse-integrated-label .warehouse-label-spec {
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.warehouse-print-code128 .warehouse-integrated-label {
  gap: 1mm;
}
.warehouse-print-code128 .warehouse-integrated-label strong {
  -webkit-line-clamp: 1;
}
.warehouse-catalog-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
  margin-top: 20px;
}
.warehouse-catalog-items article {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 16px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.warehouse-catalog-items small {
  display: block;
  margin-top: 8px;
}
.warehouse-catalog a {
  color: #165c91;
  text-decoration: underline;
}
.warehouse-inbound-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.warehouse-inbound-methods .warehouse-action {
  margin: 0;
  width: 100%;
  height: 100%;
  text-align: left;
}
.warehouse-inbound-methods .is-selected {
  border: 2px solid #216946;
  background: #edf6f0;
}
.warehouse-inbound-methods small {
  display: block;
  white-space: normal;
}
.warehouse-inbound-detail {
  min-width: 0;
}
.warehouse-menu-back {
  align-self: flex-start;
  margin: 12px 12px 0;
}
