@font-face {
  font-family:Local;
  src:local('Inter'),local('Arial')
}
* {
  box-sizing:border-box
}
:root {
  --bg:#f5f6f8;
  --ink:#202b36;
  --muted:#7d8791;
  --line:#e9ecef;
  --green:#255e4d;
  --pale:#eaf3ed;
  --radius:12px
}
body {
  margin:0;
  font-family:Local,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:14px;
  color:var(--ink);
  background:var(--bg)
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea {
  touch-action:manipulation
}
button,a {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
a {
  color:inherit;
  text-decoration:none
}
button {
  border:0
}
button:disabled {
  opacity:.5;
  cursor:wait
}
[hidden] {
  display:none!important
}
h1,h2,h3,p {
  margin-top:0
}
h1 {
  font-size:30px;
  letter-spacing:-1px;
  margin-bottom:9px
}
h2 {
  font-size:23px;
  letter-spacing:-.5px
}
h3 {
  font-size:16px
}
small {
  font-size:11px
}
.muted {
  color:var(--muted)
}
.eyebrow {
  font-size:10px;
  font-weight:700;
  letter-spacing:2px;
  color:var(--green)
}
.brand {
  display:flex;
  align-items:baseline;
  font-weight:800;
  font-size:42px;
  letter-spacing:-4px;
  color:#224b3e
}
.brand span {
  letter-spacing:-2px
}
.brand small {
  letter-spacing:2px;
  margin-left:15px;
  font-size:8px;
  font-weight:600
}
.sidebar {
  width:246px;
  position:fixed;
  inset:0 auto 0 0;
  background:white;
  border-right:1px solid var(--line);
  padding:28px 20px;
  display:flex;
  flex-direction:column;
  z-index:20
}
.sidebar .brand {
  padding-left:10px
}
.workspace {
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  border-radius:9px;
  margin:29px 0 25px;
  padding:12px 10px
}
.workspace b {
  font-size:11px
}
.workspace small,.profile small {
  display:block;
  color:var(--muted);
  margin-top:5px
}
.workspace-icon {
  background:#eaf1e9;
  color:#4a6b48;
  border-radius:6px;
  padding:9px;
  font-size:14px;
  font-weight:700
}
.workspace .online-dot {
  margin-left:auto
}
.online-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:#589b72;
  border-radius:50%;
  flex-shrink:0
}
.nav-caption {
  font-size:9px;
  letter-spacing:1.5px;
  color:#9bA3aa;
  font-weight:600;
  padding-left:12px;
  margin-bottom:12px
}
nav {
  display:flex;
  flex-direction:column;
  gap:4px;
  overflow:auto
}
.nav-item {
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:7px;
  color:#77828c;
  font-size:12px;
  transition:.15s
}
.nav-item>span:first-child {
  font-size:17px;
  width:19px;
  text-align:center
}
.nav-item:hover {
  background:#f7f9f8;
  color:var(--green)
}
.nav-item.active {
  background:var(--pale);
  color:var(--green);
  font-weight:650
}
.nav-item .nav-count {
  margin-left:auto;
  background:white;
  border:1px solid #dee8df;
  border-radius:4px;
  font-size:10px;
  padding:1px 5px
}
.sidebar-bottom {
  margin-top:auto;
  padding-top:16px
}
.sidebar-bottom .nav-item {
  font-size:11px
}
.system-state {
  padding:19px 12px;
  color:#8d969c;
  font-size:10px
}
.system-state span {
  margin-right:6px
}
.profile {
  border-top:1px solid var(--line);
  padding:19px 0 0;
  display:flex;
  align-items:center;
  gap:10px
}
.profile b {
  font-size:11px
}
.profile>div {
  min-width:0;
  flex:1
}
.profile b {
  display:block;
  max-width:133px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.avatar {
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#f3e9d8;
  color:#927142;
  font-weight:600;
  font-size:11px
}
.icon-button {
  background:transparent;
  color:var(--muted);
  padding:7px;
  font-size:20px
}
.app-main {
  margin-left:246px
}
.topbar {
  height:76px;
  padding:0 38px;
  background:white;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:11px
}
.separator {
  margin:0 15px;
  color:#c9ced1
}
.topbar-right {
  display:flex;
  align-items:center;
  gap:21px;
  color:#929aa1;
  font-size:10px
}
.topbar-right .button {
  font-size:10px
}
.live-label {
  color:#6c8c75
}
.live-label span {
  margin-right:5px
}
#menu-toggle {
  display:none
}
main {
  padding:36px 38px;
  min-height:calc(100vh - 123px)
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:27px
}
.page-heading p {
  font-size:12px;
  color:var(--muted);
  margin:0;
  line-height:1.7
}
.heading-actions {
  display:flex;
  gap:8px;
  flex-shrink:0
}
.button,button.primary,button.secondary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 17px;
  border-radius:7px;
  font-size:11px;
  font-weight:600;
  min-height:37px
}
.primary {
  background:var(--green);
  color:white
}
.primary:hover {
  background:#1c4b3c
}
.secondary {
  border:1px solid #dfe4e5;
  background:white;
  color:#54616c
}
.subtle {
  background:#f6f7f8;
  color:#576670;
  border:1px solid #e5e8eb
}
.danger {
  color:#b34848!important
}
.metrics {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:17px;
  margin-bottom:24px
}
.metric {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px;
  min-height:138px;
  position:relative
}
.metric-label {
  font-size:11px;
  color:#7e8890;
  display:flex;
  align-items:center;
  justify-content:space-between
}
.metric-icon {
  background:#f3f6f4;
  color:#718a7d;
  padding:7px;
  border-radius:7px;
  font-size:15px
}
.metric-value {
  font-size:31px;
  letter-spacing:-1px;
  font-weight:650;
  margin:8px 0 9px
}
.metric small {
  font-size:10px;
  color:#8b959c
}
.metric small b {
  color:#4a8360;
  font-weight:500
}
.dashboard-grid {
  display:grid;
  grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);
  gap:24px;
  margin-bottom:24px
}
.card {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden
}
.card-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:21px 23px;
  border-bottom:1px solid var(--line);
  gap:14px
}
.card-head h3 {
  font-size:13px;
  margin:0
}
.card-head p {
  font-size:10px;
  margin:6px 0 0;
  color:var(--muted)
}
.text-button {
  color:var(--green);
  background:none;
  font-size:11px;
  font-weight:600;
  padding:5px
}
.chart {
  padding:20px 23px 18px;
  min-height:226px
}
.chart-legend {
  display:flex;
  gap:20px;
  justify-content:flex-end;
  font-size:10px;
  color:#849088;
  margin-bottom:18px
}
.chart-legend span:before {
  content:'';
  display:inline-block;
  width:7px;
  height:7px;
  background:#497763;
  border-radius:2px;
  margin-right:6px
}
.chart-legend span:last-child:before {
  background:#c8ddcf
}
.chart-bars {
  display:flex;
  gap:9%;
  align-items:flex-end;
  height:138px;
  border-bottom:1px solid var(--line);
  padding:0 18px;
  background:repeating-linear-gradient(to top,transparent 0,transparent 44px,#f2f4f3 45px,#f2f4f3 46px)
}
.chart-day {
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:4px;
  flex:1;
  height:100%;
  position:relative
}
.bar {
  background:#497763;
  width:15px;
  border-radius:3px 3px 0 0;
  min-height:2px
}
.bar.light {
  background:#c8ddcf
}
.chart-day small {
  position:absolute;
  top:calc(100% + 10px);
  font-size:9px;
  color:#939ca3;
  white-space:nowrap
}
.chart-foot {
  margin-top:32px;
  color:#8f999e;
  font-size:9px
}
.status-list {
  padding:17px 23px
}
.status-line {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
  font-size:11px
}
.status-line span {
  display:flex;
  align-items:center;
  gap:9px;
  color:#7d8790
}
.status-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#abc1ac
}
.status-line:nth-child(2) .status-dot {
  background:#e3b76d
}
.status-line:nth-child(3) .status-dot {
  background:#b3a4d6
}
.status-line:nth-child(4) .status-dot {
  background:#5f9277
}
.progress {
  display:flex;
  height:7px;
  gap:3px;
  margin:5px 23px 21px;
  border-radius:5px;
  overflow:hidden;
  background:#f1f4f2
}
.progress>span {
  background:#769b80;
  min-width:2px
}
.progress>span:nth-child(2) {
  background:#d8b77c
}
.progress>span:nth-child(3) {
  background:#b1a2ce
}
.alert-strip {
  border:1px solid #e8dfc9;
  background:#fcfaf3;
  border-radius:8px;
  padding:13px 17px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:11px;
  color:#94783d;
  margin-bottom:24px
}
.alert-strip button {
  background:none;
  color:#94783d;
  font-size:11px
}
.table-wrap {
  overflow:auto
}
table {
  border-collapse:collapse;
  width:100%;
  white-space:nowrap;
  font-size:11px
}
thead {
  background:#fbfcfc;
  color:#929ba1;
  text-align:left;
  font-size:9px;
  letter-spacing:.3px;
  font-weight:500
}
th {
  font-weight:500;
  padding:13px 19px;
  border-bottom:1px solid var(--line)
}
td {
  padding:16px 19px;
  border-bottom:1px solid #eff1f2;
  color:#74808a
}
tr:last-child td {
  border-bottom:0
}
td b {
  color:#384953;
  font-weight:600
}
tbody tr:hover {
  background:#fcfdfc
}
.table-title {
  display:block;
  max-width:250px;
  overflow:hidden;
  text-overflow:ellipsis
}
td small {
  display:block;
  margin-top:5px;
  color:#a0a7ad;
  font-size:9px
}
.badge {
  display:inline-block;
  padding:5px 8px;
  background:#edf4ee;
  color:#61816b;
  border-radius:5px;
  font-size:9px;
  font-weight:500
}
.badge.NEW,.badge.EXPECTED,.badge.PENDING {
  background:#f6f0e3;
  color:#ae8b45
}
.badge.RESERVED,.badge.PICKING,.badge.RECEIVING {
  background:#eeedf7;
  color:#9381b4
}
.badge.PACKED,.badge.PICKED {
  background:#e9f1f8;
  color:#6089aa
}
.badge.CANCELLED,.badge.DAMAGED {
  background:#faeceb;
  color:#bb7371
}
.table-actions {
  display:flex;
  gap:5px
}
.table-actions button {
  font-size:10px;
  padding:7px 9px;
  border:1px solid #e4e9e5;
  background:white;
  color:#526e5d;
  border-radius:5px
}
.toolbar {
  display:flex;
  align-items:center;
  gap:10px;
  padding:17px 20px;
  flex-wrap:wrap
}
.toolbar input {
  max-width:320px;
  flex:1;
  min-width:160px
}
.toolbar select {
  width:auto;
  max-width:210px
}
.toolbar .results {
  margin-left:auto;
  color:#969ea4;
  font-size:10px
}
input,select,textarea {
  width:100%;
  border:1px solid #dfe4e7;
  border-radius:7px;
  padding:11px 12px;
  background:white;
  color:#34424c;
  outline:none;
  min-height:39px;
  font-size:12px
}
input:focus,select:focus,textarea:focus {
  border-color:#4e8469;
  box-shadow:0 0 0 3px #eaf2ec
}
input::placeholder {
  color:#a4acb2
}
label {
  display:block;
  font-size:11px;
  font-weight:600;
  color:#59666f;
  margin-bottom:17px
}
label input,label select,label textarea {
  margin-top:8px
}
textarea {
  min-height:75px;
  resize:vertical
}
.full {
  width:100%
}
.pagination {
  padding:14px 20px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--muted);
  font-size:10px
}
.pagination span {
  margin-right:auto
}
.empty {
  padding:50px;
  text-align:center;
  color:var(--muted);
  line-height:1.8
}
.empty strong {
  display:block;
  color:#52695b;
  font-size:16px;
  margin-bottom:9px
}
.error {
  color:#b2554b;
  font-size:12px;
  line-height:1.6
}
.loading {
  padding:60px;
  text-align:center;
  color:var(--muted)
}
footer {
  padding:18px 38px;
  font-size:9px;
  color:#a3abb1;
  display:flex;
  justify-content:space-between;
  border-top:1px solid var(--line)
}
dialog {
  border:1px solid var(--line);
  border-radius:15px;
  padding:26px;
  width:620px;
  max-width:calc(100vw - 24px);
  max-height:90vh;
  color:var(--ink);
  box-shadow:0 30px 100px #182e3830
}
dialog::backdrop {
  background:#1b2b345e;
  backdrop-filter:blur(3px)
}
.modal-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:17px
}
.modal-heading h2 {
  margin:8px 0
}
.modal-heading .eyebrow {
  font-size:8px
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 16px
}
.form-grid .wide {
  grid-column:1/-1
}
.form-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:17px;
  padding-top:17px;
  border-top:1px solid var(--line)
}
.line-editor {
  background:#f7f9f8;
  padding:13px;
  border-radius:9px;
  margin-bottom:14px
}
.document-line {
  display:flex;
  gap:8px;
  align-items:center;
  margin-bottom:8px
}
.document-line select {
  flex:1;
  min-width:0
}
.document-line input {
  width:85px
}
.document-line button {
  background:none;
  color:#9f7770;
  font-size:21px
}
.detail-meta {
  display:flex;
  gap:13px;
  flex-wrap:wrap;
  margin-bottom:18px;
  color:var(--muted);
  font-size:12px
}
.detail-line {
  padding:14px 0;
  border-top:1px solid var(--line);
  line-height:1.7
}
.detail-line b {
  display:block
}
.detail-line small {
  color:var(--muted)
}
.task-card {
  padding:22px
}
.task-card h3 {
  margin-bottom:7px
}
.task-card p {
  color:var(--muted);
  font-size:12px;
  line-height:1.7
}
.task-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:17px
}
.task-number {
  font-size:11px;
  color:#6b8c76;
  background:var(--pale);
  padding:8px 10px;
  border-radius:5px;
  display:inline-block;
  margin-bottom:22px
}
.tsd main {
  max-width:840px;
  margin:auto
}
.tsd .task-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.tsd input,.tsd select,.tsd button.primary,.tsd button.secondary {
  min-height:52px;
  font-size:16px
}
.tsd .task-card {
  min-height:175px
}
.tsd .task-card button {
  width:100%;
  min-height:48px
}
.tsd .topbar {
  position:sticky;
  top:0;
  z-index:10
}
.scan-field {
  font-size:18px!important;
  border:2px solid #97b6a0!important;
  background:#f8fcf9!important;
  letter-spacing:1px
}
.help {
  font-size:11px;
  line-height:1.6;
  color:#89939a;
  margin-bottom:17px
}
.scan-hint {
  background:#edf5ee;
  border-radius:8px;
  padding:14px;
  color:#4f775c;
  margin-bottom:17px;
  font-size:12px;
  line-height:1.7
}
.scan-error {
  animation:flash .5s
}
@keyframes flash {
  50% {
    background:#ffded9
  }
}
#toasts {
  position:fixed;
  bottom:25px;
  right:25px;
  z-index:100;
  display:grid;
  gap:8px;
  max-width:420px
}
.toast {
  padding:16px 20px;
  background:#254f40;
  color:white;
  border-radius:9px;
  font-size:12px;
  box-shadow:0 8px 25px #182e3820;
  line-height:1.6
}
.toast.bad {
  background:#944f48
}
.login-screen {
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr
}
.login-story {
  padding:50px 65px;
  background:#e7ede6;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:100vh
}
.login-story h1 {
  font-size:60px;
  line-height:1.1;
  font-weight:550;
  color:#244738;
  letter-spacing:-3px;
  margin:23px 0
}
.login-story p {
  color:#7b8e7d;
  line-height:1.9
}
.login-story>small {
  color:#7d907f
}
.warehouse-art {
  display:flex;
  align-items:center;
  gap:15px;
  margin:40px 0
}
.warehouse-art div {
  padding:22px 18px;
  border:1px solid #b4c8b5;
  border-radius:8px;
  color:#69836a;
  font-size:10px;
  line-height:2;
  background:#edf2e9
}
.warehouse-art i {
  font-style:normal;
  color:#9eb59e
}
.login-form {
  display:grid;
  place-items:center;
  padding:40px
}
.login-form form {
  width:350px;
  max-width:100%
}
.login-form h2 {
  font-size:30px;
  margin-top:18px
}
.login-form p {
  font-size:12px;
  margin-bottom:30px
}
.login-form label {
  margin-bottom:20px
}
.login-form input {
  padding:14px
}
.login-form button {
  padding:15px;
  justify-content:space-between
}
.docs-page {
  padding:40px;
  max-width:1100px;
  margin:auto;
  line-height:1.8
}
.docs-page details {
  margin:10px 0;
  background:white;
  padding:15px;
  border:1px solid var(--line);
  border-radius:8px
}
.docs-page summary {
  cursor:pointer;
  font-size:13px
}
.docs-page pre {
  overflow:auto;
  font-size:11px
}
.label-page {
  text-align:center;
  padding:40px;
  background:white
}
.label-page h1 {
  font-size:50px
}
.report-breakdown {
  padding:20px
}
.report-breakdown .status-line {
  font-size:13px
}
.check-label {
  display:flex;
  align-items:center;
  gap:10px
}
.check-label input {
  width:18px;
  min-height:18px
}
.version-note {
  color:#98a19d;
  font-size:10px
}
.summary-note {
  background:#f2f6f2;
  padding:16px;
  border-radius:9px;
  font-size:12px;
  line-height:1.7;
  color:#608068;
  margin-bottom:20px
}
@media(min-width:1550px) {
  main {
    padding:42px 55px
  }
  .topbar {
    padding:0 55px
  }
  .metrics {
    gap:24px
  }
  .metric {
    padding:24px
  }
  .dashboard-grid {
    grid-template-columns:2fr 1fr
  }
  .chart-bars {
    height:170px
  }
  .chart {
    min-height:260px
  }
}
@media(max-width:1100px) {
  .sidebar {
    width:215px;
    padding:24px 14px
  }
  .app-main {
    margin-left:215px
  }
  .topbar {
    padding:0 25px
  }
  main {
    padding:27px 25px
  }
  .metric {
    padding:16px
  }
  .metric-value {
    font-size:27px
  }
  .dashboard-grid {
    gap:16px;
    grid-template-columns:minmax(0,1.5fr) minmax(210px,1fr)
  }
  .topbar-right #today {
    display:none
  }
  .task-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .heading-actions {
    max-width:45%;
    flex-wrap:wrap;
    justify-content:flex-end
  }
}
@media(max-width:780px) {
  .sidebar {
    transform:translateX(-100%);
    width:246px;
    box-shadow:10px 0 80px #23352e20
  }
  .sidebar.open {
    transform:translateX(0)
  }
  .app-main {
    margin-left:0
  }
  #menu-toggle {
    display:block
  }
  .topbar {
    height:64px;
    padding:0 15px;
    gap:8px
  }
  .topbar>div:first-of-type>.muted,.topbar .separator,.live-label {
    display:none
  }
  .topbar-right {
    gap:8px
  }
  .topbar-right .button {
    padding:8px
  }
  main {
    padding:25px 16px
  }
  .page-heading {
    align-items:flex-start;
    gap:10px
  }
  h1 {
    font-size:25px
  }
  .heading-actions {
    max-width:45%
  }
  .metrics {
    grid-template-columns:repeat(2,1fr);
    gap:10px
  }
  .metric {
    min-height:125px
  }
  .dashboard-grid {
    grid-template-columns:1fr
  }
  .status-list {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px 20px
  }
  .metric-label {
    font-size:10px
  }
  .card-head {
    padding:18px
  }
  .task-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .task-card {
    padding:17px
  }
  footer {
    padding:18px 16px
  }
  footer span {
    display:none
  }
  .login-screen {
    grid-template-columns:1fr
  }
  .login-story {
    display:none
  }
  .login-form {
    min-height:100vh
  }
  .form-grid {
    grid-template-columns:1fr
  }
  .form-grid .wide {
    grid-column:auto
  }
  .toolbar {
    padding:14px
  }
  .toolbar .results {
    width:100%;
    margin-left:0
  }
  .alert-strip {
    align-items:flex-start;
    line-height:1.7;
    gap:14px
  }
  .tsd .page-heading {
    display:block
  }
  .tsd .heading-actions {
    max-width:100%;
    justify-content:flex-start;
    margin-top:15px
  }
  .tsd .task-grid {
    grid-template-columns:1fr 1fr
  }
  .tsd .task-card button {
    font-size:13px
  }
  dialog {
    padding:20px
  }
  #toasts {
    right:12px;
    left:12px;
    bottom:12px;
    max-width:none
  }
}
@media print {
  .label-page {
    padding:0
  }
  .label-page p:last-child {
    display:none
  }
}
