:root {
  --ink: #20352d;
  --muted: #849089;
  --green: #25684e;
  --line: #e6eae7;
  --bg: #f6f8f6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    14px "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
}
.brand {
  font-size: 22px;
  font-weight: 750;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand-icon {
  background: var(--green);
  color: white;
  border-radius: 8px;
  font-size: 24px;
  padding: 0 5px;
}
.brand small {
  font-size: 8px;
  letter-spacing: 1px;
  margin-top: 10px;
  color: #96a199;
}
.warehouse {
  margin: 32px 0;
  padding: 13px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
}
.warehouse span {
  float: right;
}
.nav-label {
  font-size: 10px;
  color: #99a49e;
  padding: 0 12px;
  margin-bottom: 13px;
  letter-spacing: 2px;
}
.nav {
  text-align: left;
  border: 0;
  background: none;
  padding: 14px 12px;
  border-radius: 5px;
  color: #69786f;
  margin-bottom: 7px;
}
.nav span {
  float: right;
  font-size: 11px;
}
.nav.active {
  color: var(--green);
  background: #eaf3ed;
  font-weight: 650;
}
.side-note {
  margin-top: auto;
  border: 1px solid var(--line);
  background: #fafcf9;
  padding: 15px 10px;
  font-size: 12px;
  border-radius: 6px;
}
.side-note small {
  display: block;
  line-height: 1.9;
  color: #8b958f;
  margin-top: 6px;
  font-size: 11px;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4a9874;
  margin-right: 6px;
}
.operator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 12px;
}
.avatar {
  background: #eef1eb;
  border-radius: 50%;
  padding: 10px;
  color: #5c7566;
}
.operator small {
  display: block;
  font-size: 10px;
  color: #8c9990;
  margin-top: 4px;
}
.operator > .dot {
  margin-left: auto;
}
main {
  margin-left: 224px;
}
header {
  height: 72px;
  background: #ffffffb0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  font-size: 12px;
  color: #839087;
}
header span {
  margin: 0 14px;
}
header b {
  font-weight: 500;
  color: #42574b;
}
.header-right {
  display: flex;
  align-items: center;
}
.header-right .dot {
  margin: 0 7px;
}
.header-right #today {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.content {
  max-width: 1540px;
  margin: auto;
  padding: 32px 38px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #7a9283;
  font-weight: 600;
}
h1 {
  font-size: 28px;
  letter-spacing: -0.8px;
  margin: 7px 0 8px;
}
p {
  color: #87928b;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.button {
  border: 1px solid #dce3dd;
  background: white;
  color: #435d4c;
  border-radius: 5px;
  padding: 10px 15px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
}
.button:hover {
  background: #f0f6f1;
}
.primary {
  color: white;
  background: var(--green);
  border-color: var(--green);
}
.primary:hover {
  background: #19543d;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 25px 0 24px;
  padding: 22px 0;
}
.stats > div {
  padding: 0 27px;
  border-right: 1px solid var(--line);
}
.stats > div:last-child {
  border: 0;
}
.stats span {
  display: block;
  color: #849087;
  font-size: 11px;
}
.stats strong {
  display: block;
  font-size: 27px;
  font-weight: 600;
  margin-top: 7px;
  line-height: 1.2;
}
.stats small {
  font-size: 11px;
  font-weight: 400;
  color: #94a096;
  margin-left: 5px;
}
.workspace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 23px;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-size: 14px;
  margin: 0;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step {
  background: #edf3ef;
  color: #4d7c60;
  font-size: 10px;
  padding: 5px 6px;
  border-radius: 4px;
}
.badge {
  background: #f4f6f3;
  color: #7b8b7e;
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 4px;
}
#scanForm {
  padding: 20px 23px 0;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 9px;
}
label span {
  float: right;
  font-size: 10px;
  font-weight: 400;
  color: #9ba59d;
}
input:not([type="checkbox"]),
select {
  border: 1px solid #dfe6df;
  border-radius: 5px;
  background: #fff;
  color: #304b3a;
  padding: 11px 13px;
  outline: none;
  min-width: 0;
}
input:focus,
select:focus {
  border-color: #4a9270;
  box-shadow: 0 0 0 3px #eff6f0;
}
input::placeholder {
  color: #a4aea6;
  font-size: 12px;
}
#scanForm input {
  width: 100%;
  margin-bottom: 18px;
}
.input-icon {
  position: relative;
}
.input-icon > span {
  position: absolute;
  left: 13px;
  top: 9px;
  font-size: 20px;
  color: #8a9b8d;
}
.input-icon input {
  padding-left: 40px;
}
.separator {
  height: 1px;
  background: var(--line);
  margin: 1px 0 19px;
}
.sku-input input {
  background: #f8fbf8;
  border-color: #94b5a0;
}
.scan-submit {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 12px 15px;
}
.scan-options {
  display: flex;
  gap: 20px;
  padding: 19px 23px 6px;
}
.scan-options label {
  font-size: 10px;
  color: #75877a;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 5px;
}
input[type="checkbox"] {
  accent-color: var(--green);
}
.hint {
  padding: 0 23px 18px;
  font-size: 10px;
  color: #9aa59c;
}
.live {
  font-size: 10px;
  color: #6c8d78;
}
.destination {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #fff, #f7faf6);
}
#destinationBody {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 25px;
  min-height: 330px;
}
.box-illustration {
  font-size: 76px;
  color: #aac0ad;
  line-height: 1.1;
  transform: rotate(-7deg);
  margin-bottom: 24px;
}
.waiting {
  font-size: 19px;
  font-weight: 600;
  color: #718a76;
  margin-bottom: 9px;
}
.flow {
  font-size: 10px;
  color: #9aab9a;
  margin-top: 38px;
}
.flow span {
  margin: 0 14px;
  color: #c1cec0;
}
.destination-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 17px 21px;
  font-size: 10px;
  color: #99a59b;
}
.text-button {
  border: 0;
  background: none;
  color: #577962;
  font-size: 11px;
}
.destination-number {
  font-size: 42px;
  letter-spacing: 1px;
  margin: 12px 0;
  color: #236448;
  font-weight: 700;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.destination-sku {
  font-size: 14px;
  margin: 10px 0;
  color: #597660;
  overflow-wrap: anywhere;
}
.destination-progress {
  width: 75%;
  height: 6px;
  border-radius: 4px;
  background: #e2ebe2;
  margin: 18px 0 10px;
  overflow: hidden;
}
.destination-progress div {
  background: #6a9d73;
  height: 100%;
}
.seal-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 26px;
  padding: 19px 23px;
}
.seal-panel p {
  font-size: 10px;
  margin: 7px 0 0 38px;
}
.dark {
  background: #f1f1e9;
  color: #8b8e65;
}
.seal-panel form {
  display: flex;
  gap: 9px;
  width: 49%;
}
.seal-panel input {
  flex: 1;
  width: 0;
}
.record-panel {
  overflow: hidden;
}
.records-heading {
  padding: 22px 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.count {
  font-size: 10px;
  padding: 2px 7px;
  background: #edf3ed;
  border-radius: 4px;
  color: #6f8974;
}
.records-heading p {
  font-size: 10px;
  margin-top: 7px;
}
.record-actions {
  display: flex;
  gap: 9px;
}
.record-actions input {
  width: 210px;
  font-size: 11px;
}
.record-actions select {
  font-size: 11px;
  padding: 9px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  background: #f7f9f6;
  color: #829286;
  font-size: 10px;
  font-weight: 500;
  padding: 13px 20px;
  border-block: 1px solid var(--line);
}
td {
  padding: 16px 20px;
  font-size: 11px;
  border-bottom: 1px solid #eff2ee;
}
td.code {
  font-family: Consolas, monospace;
  color: #597260;
}
.status {
  padding: 4px 7px;
  font-size: 10px;
  border-radius: 4px;
  background: #edf5ed;
  color: #608469;
}
.status.closed {
  background: #f0f1ef;
  color: #90998f;
}
.empty {
  text-align: center;
  padding: 47px;
  color: #94a294;
}
.empty strong {
  display: block;
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 6px;
}
.table-footer {
  display: flex;
  justify-content: space-between;
  padding: 15px 23px;
  color: #9ba69b;
  font-size: 10px;
}
footer {
  display: flex;
  font-size: 11px;
  color: #9ba99d;
  gap: 12px;
  margin: 25px 0;
}
footer span {
  font-size: 9px;
  letter-spacing: 1px;
}
footer span:last-child {
  margin-left: auto;
  letter-spacing: 0;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 440px;
  padding: 26px;
  box-shadow: 0 25px 90px #193c3026;
}
dialog::backdrop {
  background: #17372655;
}
dialog label {
  margin-top: 20px;
}
dialog input {
  width: 100%;
  display: block;
  margin-top: 8px;
}
dialog p {
  margin: 12px 0;
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
}
.two-col {
  display: flex;
  gap: 16px;
}
.two-col label {
  width: 50%;
}
dialog .primary {
  width: 100%;
  margin-top: 12px;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 24px;
  background: #244c38;
  color: #fff;
  box-shadow: 0 7px 25px #23473230;
  border-radius: 6px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 10;
}
#toast.show {
  opacity: 1;
}
@media (min-width: 1500px) {
  .content {
    padding-top: 42px;
  }
  .workspace-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
}
@media (max-width: 1100px) {
  aside {
    width: 180px;
    padding: 26px 13px;
  }
  main {
    margin-left: 180px;
  }
  .content {
    padding: 25px 20px;
  }
  .brand small {
    display: none;
  }
  header {
    padding: 0 20px;
  }
  .records-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .record-actions {
    width: 100%;
    margin-top: 10px;
  }
  .record-actions input {
    flex: 1;
  }
  .seal-panel {
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
  }
  .seal-panel form {
    width: 100%;
  }
}
@media (max-width: 760px) {
  aside {
    position: relative;
    width: 100%;
    padding: 15px;
    display: block;
  }
  .brand {
    font-size: 18px;
  }
  .warehouse,
  .nav-label,
  .side-note,
  .operator {
    display: none;
  }
  .nav {
    display: inline-block;
    margin: 13px 4px 0;
    padding: 9px;
  }
  .nav span {
    display: none;
  }
  main {
    margin: 0;
  }
  header {
    height: 50px;
  }
  .header-right {
    display: none;
  }
  .content {
    padding: 22px 14px;
  }
  .workspace-grid {
    grid-template-columns: 1fr;
  }
  .stats > div {
    padding: 0 12px;
  }
  .stats strong {
    font-size: 23px;
  }
  .stats {
    padding: 16px 0;
  }
  .record-actions {
    flex-wrap: wrap;
  }
  .record-actions input {
    width: 100%;
    flex-basis: 100%;
  }
  .page-heading p {
    max-width: 230px;
  }
  .table-footer {
    gap: 12px;
  }
  .destination-number {
    font-size: 34px;
  }
  h1 {
    font-size: 25px;
  }
}

.required {
  color: #b55d47;
  font-style: normal;
  margin-left: 3px;
}
.seal-panel form[hidden] {
  display: none;
}
.full-barcode-card {
  width: 49%;
  max-width: 550px;
  background: white;
  border: 1px solid #dde5de;
  border-radius: 5px;
  padding: 14px 22px 10px;
}
.full-barcode-card svg {
  display: block;
  height: 64px;
  width: 100%;
}
.full-barcode-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 14px;
}
.full-barcode-caption b {
  font:
    14px Consolas,
    monospace;
  letter-spacing: 3px;
}
.full-barcode-caption span {
  font-size: 10px;
  color: #819086;
}
#sealTarget {
  display: block;
  font-weight: 600;
  color: #466d53;
  margin-top: 5px;
}
@media (max-width: 1100px) {
  .full-barcode-card {
    width: 100%;
  }
}
