/* 홈 기본 베이스(잠금).
   왜: 첫 화면이 엔터프라이즈 PDA 얼굴이다. 승인 없이 재질·8칸·하단 독을 바꾸지 않는다.
   크림 뉴모픽, 볼록 카드, 가운데는 평평한 다른 색, 단순 SVG 도형.
   8칸 한 화면 고정(스크롤 금지). 하단은 긴 타원 트레이 위 같은 크기 원 버튼 3개.
   스캔은 카메라. 실사·점토 PNG·음각 우물·파란 CTA는 쓰지 않는다. */

:root,
:root[data-neu-theme="cream"] {
  --neu: #f2eee6;
  --neu-dark: #d8d2c6;
  --neu-hi: #ffffff;
  --neu-ink: #3b372f;
  --neu-mute: #9a9388;
  --neu-press: #6e675c;
  --neu-well: #e7e1d5;
  --neu-line: #e7e1d5;
  --neu-deep: #4d483f;
  --neu-out: #8a3d35;
  --neu-on: #ffffff;
  --neu-icon: #d8c6a4;
  --neu-icon-2: #c9b9a4;
  --neu-icon-3: #b9a88e;
  --neu-icon-hi: #efe8da;
}
:root[data-neu-theme="dark"] {
  --neu: #2c2a27;
  --neu-dark: #1a1917;
  --neu-hi: #3d3a35;
  --neu-ink: #ece8e0;
  --neu-mute: #9a948a;
  --neu-press: #c4bdb2;
  --neu-well: #242220;
  --neu-line: #3a3732;
  --neu-deep: #121110;
  --neu-out: #d4a39c;
  --neu-on: #2c2a27;
  --neu-icon: #8a7d6a;
  --neu-icon-2: #7a6e5e;
  --neu-icon-3: #6a5f52;
  --neu-icon-hi: #a89880;
}
:root[data-neu-theme="white"] {
  --neu: #f7f6f3;
  --neu-dark: #d4d2cc;
  --neu-hi: #ffffff;
  --neu-ink: #2c2a26;
  --neu-mute: #8e8a82;
  --neu-press: #6a665e;
  --neu-well: #ebe9e4;
  --neu-line: #ebe9e4;
  --neu-deep: #4a4740;
  --neu-out: #8a3d35;
  --neu-on: #ffffff;
  --neu-icon: #d4cfc4;
  --neu-icon-2: #c4bfb4;
  --neu-icon-3: #b4afa4;
  --neu-icon-hi: #f0eee8;
}
:root[data-neu-theme="rose"] {
  --neu: #f2e8e8;
  --neu-dark: #d8c4c4;
  --neu-hi: #ffffff;
  --neu-ink: #3b2f2f;
  --neu-mute: #9a8888;
  --neu-press: #6e5c5c;
  --neu-well: #e7d5d5;
  --neu-line: #e7d5d5;
  --neu-deep: #4d3f3f;
  --neu-out: #8a3d35;
  --neu-on: #ffffff;
  --neu-icon: #d4b4b0;
  --neu-icon-2: #c49e9c;
  --neu-icon-3: #b08888;
  --neu-icon-hi: #efe0da;
}
:root[data-neu-theme="lilac"] {
  --neu: #eee8f0;
  --neu-dark: #d2c4d6;
  --neu-hi: #ffffff;
  --neu-ink: #362f3b;
  --neu-mute: #94889a;
  --neu-press: #675c6e;
  --neu-well: #e1d5e6;
  --neu-line: #e1d5e6;
  --neu-deep: #463f4d;
  --neu-out: #6e3d35;
  --neu-on: #ffffff;
  --neu-icon: #c4b0cc;
  --neu-icon-2: #b09cbc;
  --neu-icon-3: #9c88a6;
  --neu-icon-hi: #e8dcec;
}

.view[data-view="home"],
.view[data-view="settings"],
.view[data-view="login"],
.view[data-view="warehouse-setup"],
.view[data-view="lock"],
.home-root,
body.is-home .app,
body.is-settings .app,
body.is-login .app,
body.is-work .app {
  background: var(--neu);
}

html.is-home,
body.is-home,
html.is-settings,
body.is-settings,
html.is-login,
body.is-login,
html.is-work,
body.is-work {
  background: var(--neu);
}
html.is-home,
body.is-home,
html.is-settings,
body.is-settings,
html.is-work,
body.is-work {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html.is-home::-webkit-scrollbar,
body.is-home::-webkit-scrollbar,
html.is-settings::-webkit-scrollbar,
body.is-settings::-webkit-scrollbar,
html.is-work::-webkit-scrollbar,
body.is-work::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
body.is-home .app,
body.is-settings .app,
body.is-login .app,
body.is-work .app {
  height: 100dvh;
  max-height: 100dvh;
  min-height: 0;
  overflow: hidden;
}
html.is-login,
body.is-login {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}
body.is-home,
body.is-home .app,
.view[data-view="home"],
.view[data-view="home"] .body,
.home-root,
.home-pad,
.home-sublist {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}

.view[data-view="home"] {
  flex: 1;
  min-height: 0;
  max-height: 100%;
}
.view[data-view="home"] .body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0 0 calc(var(--tabbar-h) + var(--safe-b));
}

.home-root {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.home-raise {
  background: var(--neu);
  box-shadow:
    6px 6px 12px var(--neu-dark),
    -5px -5px 12px var(--neu-hi);
}

.home-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 6px;
}
.home-brandbox {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.home-brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--neu-mute);
}
.home-brandbox.is-solo .home-brand {
  font-size: calc(20px * var(--type-scale, 1));
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--neu-ink);
}
.home-brandbox strong {
  font-size: calc(18px * var(--type-scale, 1));
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--neu-ink);
}
.home-whpill {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  color: var(--neu-ink);
  white-space: normal;
  overflow: visible;
}
.home-gear {
  flex: 0 0 auto;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: var(--neu-mute);
}
.home-gear svg { width: 18px; height: 18px; }
.home-gear span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.home-gear.is-on {
  color: var(--neu-ink);
  box-shadow:
    inset 4px 4px 8px var(--neu-dark),
    inset -3px -3px 6px var(--neu-hi);
}

.home-pad,
.home-pad--8 {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 4px 14px 8px;
}

.home-cell,
.home-subitem,
.home-back,
.home-whpill,
.home-gear {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
}

.home-cell,
.home-subitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  padding: 8px 8px 6px;
  border-radius: 22px;
  text-align: left;
}

.home-well {
  flex: 1 1 58%;
  max-height: 64%;
  min-height: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 4px;
  background: var(--neu-well);
}
.home-well svg {
  width: 52%;
  height: 52%;
  max-width: 52px;
  max-height: 52px;
  overflow: visible;
}

.home-copy {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 2px 2px 2px;
}
.home-copy b {
  font-size: calc(16px * var(--type-scale, 1));
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--neu-ink);
}
.home-copy em {
  font-size: calc(12px * var(--type-scale, 1));
  font-style: normal;
  font-weight: 600;
  color: var(--neu-mute);
}

.home-cell:active,
.home-subitem:active,
.home-back:active,
.home-whpill:active,
.home-gear:active {
  box-shadow:
    inset 5px 5px 10px var(--neu-dark),
    inset -3px -3px 8px var(--neu-hi);
}

.home-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--neu-press);
  color: var(--neu-on);
  font-size: 11px;
  font-weight: 800;
  font-style: normal;
  display: grid;
  place-items: center;
  box-shadow: inset 2px 2px 4px var(--neu-deep);
}

.home-subhead {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 16px 8px;
  color: var(--neu-ink);
}
.home-back {
  border-radius: 16px;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--neu-ink);
}
.home-subhead strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.home-sublist {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 2px 14px 12px;
}
.home-subitem {
  flex: 1;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px;
}
.home-subitem .home-well {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  margin: 0;
}
.home-subitem .home-copy b {
  font-size: 18px;
}

.app {
  --tabbar-h: 88px;
}
.tabbar:not([hidden]) {
  width: calc(100% - 28px);
  max-width: 492px;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(10px + var(--safe-b));
  min-height: 0;
  height: 72px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--neu);
  border-top: 0;
  box-shadow:
    8px 10px 18px var(--neu-dark),
    -6px -6px 14px var(--neu-hi);
  align-items: center;
  justify-content: space-evenly;
  display: flex;
}
.tabbar:not([hidden]) button[hidden] { display: none !important; }
.tabbar:not([hidden]) button {
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 50%;
  background: var(--neu);
  color: var(--neu-mute);
  box-shadow:
    4px 5px 10px var(--neu-dark),
    -3px -3px 8px var(--neu-hi);
}
.tabbar:not([hidden]):has([data-slot]:not([hidden])) button {
  width: 48px;
  height: 48px;
}
.tabbar:not([hidden]) button.is-on {
  color: var(--neu-ink);
  box-shadow:
    inset 4px 4px 8px var(--neu-dark),
    inset -3px -3px 6px var(--neu-hi);
}
.tabbar:not([hidden]) button:active {
  box-shadow:
    inset 4px 4px 8px var(--neu-dark),
    inset -3px -3px 6px var(--neu-hi);
}
.tabbar:not([hidden]) .tab-scan span,
.tabbar:not([hidden]) button.tab-scan span {
  display: block;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.view[data-view="settings"] {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.view[data-view="settings"] .appbar { display: none; }
.view[data-view="settings"] .body {
  display: block;
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 0 calc(var(--tabbar-h) + var(--safe-b) + 8px);
}
.view[data-view="settings"] .body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.set-root {
  display: flex;
  flex-direction: column;
}
.set-pad {
  padding: 4px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.set-card {
  border-radius: 22px;
  padding: 14px 16px;
}
.set-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
}
.set-row + .set-row {
  border-top: 1px solid var(--neu-line);
}
.set-row em {
  font-style: normal;
  font-size: calc(12px * var(--type-scale, 1));
  font-weight: 700;
  color: var(--neu-mute);
}
.set-row b {
  font-size: calc(14px * var(--type-scale, 1));
  font-weight: 800;
  color: var(--neu-ink);
  text-align: right;
}
.set-row b.is-off { color: var(--neu-out); }
.set-row [data-cam] { cursor: pointer; }
.set-label {
  margin: 4px 4px 0;
  font-size: calc(12px * var(--type-scale, 1));
  font-weight: 800;
  color: var(--neu-mute);
}
.set-select {
  position: relative;
  border-radius: 999px;
  background: var(--neu-well);
  box-shadow:
    inset 3px 3px 6px var(--neu-dark),
    inset -2px -2px 5px var(--neu-hi);
}
.set-select select {
  appearance: none;
  width: 100%;
  height: 52px;
  padding: 0 44px 0 18px;
  border: 0;
  background: transparent;
  color: var(--neu-ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.set-select select:disabled { color: var(--neu-mute); }
.set-select::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--neu-press);
  border-bottom: 2px solid var(--neu-press);
  transform: rotate(45deg);
  pointer-events: none;
}
.set-mix {
  display: flex;
  align-items: center;
  gap: 10px;
}
.set-switch--inline {
  flex: 0 0 auto;
  padding: 0;
  gap: 8px;
  border: 0;
}
.set-jog--mini {
  flex: 1;
  min-width: 0;
  height: 48px;
}
.set-jog--mini .set-jog-btn {
  width: 40px;
  height: 40px;
}
.set-jog {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--neu-well);
  box-shadow:
    inset 3px 3px 6px var(--neu-dark),
    inset -2px -2px 5px var(--neu-hi);
}
.set-jog-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: var(--neu-ink);
}
.set-jog-btn:disabled { opacity: 0.35; }
.set-jog-btn:active {
  box-shadow:
    inset 4px 4px 8px var(--neu-dark),
    inset -3px -3px 6px var(--neu-hi);
}
.set-jog b {
  font-size: calc(16px * var(--type-scale, 1));
  font-weight: 800;
  color: var(--neu-ink);
}
.set-hint {
  margin: -4px 4px 0;
  font-size: calc(12px * var(--type-scale, 1));
  font-weight: 600;
  line-height: 1.45;
  color: var(--neu-mute);
}
html.is-haptic-ok .set-jog[data-vibes],
html.is-haptic-bad .set-jog[data-vibes] {
  box-shadow:
    inset 4px 4px 8px var(--neu-dark),
    inset -3px -3px 6px var(--neu-hi);
}
.set-themes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 2px 2px 4px;
}
.set-swatch {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: var(--neu);
  color: var(--neu-mute);
  box-shadow:
    4px 5px 10px var(--neu-dark),
    -3px -3px 8px var(--neu-hi);
}
.set-swatch i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.set-swatch span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.set-swatch.is-on {
  color: var(--neu-ink);
  box-shadow:
    inset 4px 4px 8px var(--neu-dark),
    inset -3px -3px 6px var(--neu-hi);
}
.set-swatch:active {
  box-shadow:
    inset 4px 4px 8px var(--neu-dark),
    inset -3px -3px 6px var(--neu-hi);
}
.set-swatch[data-theme="cream"] i { background: #e7e1d5; }
.set-swatch[data-theme="dark"] i { background: #3a3732; }
.set-swatch[data-theme="white"] i { background: #ffffff; }
.set-swatch[data-theme="rose"] i { background: #e4b8b4; }
.set-swatch[data-theme="lilac"] i { background: #c4b0cc; }
.set-switch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: calc(16px * var(--type-scale, 1));
  font-weight: 800;
  color: var(--neu-ink);
}
.set-switch + .set-switch { border-top: 1px solid var(--neu-line); }
.set-switch input {
  appearance: none;
  width: 48px;
  height: 28px;
  margin: 0;
  border-radius: 999px;
  background: var(--neu-well);
  box-shadow: inset 3px 3px 6px var(--neu-dark), inset -2px -2px 5px var(--neu-hi);
  position: relative;
}
.set-switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--neu);
  box-shadow: 3px 3px 6px var(--neu-dark), -2px -2px 5px var(--neu-hi);
}
.set-switch input:checked {
  background: var(--neu-press);
  box-shadow: inset 3px 3px 6px var(--neu-deep);
}
.set-switch input:checked::after { left: 23px; }
.set-fb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.set-fb-btn {
  height: 52px;
  border: 0;
  border-radius: 22px;
  font-size: calc(16px * var(--type-scale, 1));
  font-weight: 800;
  color: var(--neu-ink);
}
.set-out {
  border-radius: 22px;
  padding: 16px;
  font-size: 16px;
  font-weight: 800;
  color: var(--neu-out);
}

.scan-stage-close,
.scan-ok {
  background: var(--neu);
  color: var(--neu-ink);
  border: 0;
  box-shadow:
    5px 6px 12px rgba(0, 0, 0, 0.4),
    -3px -3px 8px var(--neu-hi);
}
.scan-stage-close {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}
.scan-ok {
  width: auto;
  min-width: 88px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: calc(16px * var(--type-scale, 1));
  font-weight: 800;
}
.scan-stage-close:active,
.scan-ok:active {
  box-shadow:
    inset 4px 4px 8px var(--neu-dark),
    inset -3px -3px 6px var(--neu-hi);
}
.scan-manual-field {
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--neu-well);
  color: var(--neu-ink);
  box-shadow:
    inset 3px 3px 6px rgba(0, 0, 0, 0.35),
    inset -2px -2px 5px var(--neu-hi);
}
.scan-manual-field::placeholder { color: var(--neu-mute); }
.scan-manual-field:focus {
  outline: none;
  border-color: transparent;
  background: var(--neu-well);
}

.view--login {
  color: var(--neu-ink);
}
.login-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px 6px;
}
.login-brand {
  font-size: calc(20px * var(--type-scale, 1));
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--neu-ink);
}
.login-net {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--neu);
  box-shadow:
    4px 4px 8px var(--neu-dark),
    -3px -3px 7px var(--neu-hi);
  font-size: 12px;
  font-weight: 800;
  color: var(--neu-ink);
}
.login-net .ok-dot {
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #6b9e72;
  display: inline-block;
}
.login-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 10px 22px calc(24px + env(safe-area-inset-bottom, 0px));
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.login-body::-webkit-scrollbar { width: 0; height: 0; display: none; }
.login-lead {
  margin: 18px 2px 0;
  font-size: calc(28px * var(--type-scale, 1));
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.15;
  color: var(--neu-ink);
}
.login-sub {
  margin: 8px 2px 22px;
  font-size: calc(14px * var(--type-scale, 1));
  font-weight: 600;
  line-height: 1.45;
  color: var(--neu-mute);
}
.login-lbl {
  display: block;
  margin: 14px 6px 8px;
  font-size: calc(13px * var(--type-scale, 1));
  font-weight: 800;
  color: var(--neu-mute);
}
.login-well {
  border-radius: 22px;
  background: var(--neu-well);
  box-shadow:
    inset 3px 3px 6px var(--neu-dark),
    inset -2px -2px 5px var(--neu-hi);
}
.login-well input {
  appearance: none;
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--neu-ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.login-well input:focus { outline: none; }
.login-well input:-webkit-autofill,
.login-well input:-webkit-autofill:hover,
.login-well input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--neu-ink);
  box-shadow: 0 0 0 1000px var(--neu-well) inset;
  caret-color: var(--neu-ink);
  transition: background-color 9999s ease-out 0s;
}
.login-keep {
  margin: 18px 2px 8px;
}
.login-err {
  min-height: 1.3em;
  margin: 8px 6px 16px;
  font-size: calc(13px * var(--type-scale, 1));
  font-weight: 800;
  color: var(--neu-out);
}
.login-go {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 22px;
  font-size: calc(17px * var(--type-scale, 1));
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--neu-ink);
}
.login-go:active {
  box-shadow:
    inset 5px 5px 10px var(--neu-dark),
    inset -3px -3px 8px var(--neu-hi);
}
.login-go + .login-go { margin-top: 10px; }

.work-chrome {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}
.work-chrome[hidden] { display: none !important; }
.work-chrome-kpi {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px 8px;
  font-size: calc(13px * var(--type-scale, 1));
  font-weight: 700;
  color: var(--neu-mute);
}
.work-chrome-kpi[hidden] { display: none !important; }
.work-chrome-kpi b {
  font-size: calc(16px * var(--type-scale, 1));
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--neu-ink);
}
body.is-work .view > .appbar { display: none; }
body.is-work .view.is-on {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--neu);
  color: var(--neu-ink);
}
body.is-work .view.is-on .body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: transparent;
  padding: 8px 14px calc(var(--tabbar-h) + var(--safe-b) + 12px);
}
.view[data-view="putaway"].is-on .body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.work-put {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.work-put-list {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.work-put-list::-webkit-scrollbar { width: 0; height: 0; display: none; }
.work-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
  padding-bottom: 8px;
}
body.is-work .view.is-on .body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body.is-work .list-card,
body.is-work .card,
body.is-work .scan-hero,
body.is-work .work-card,
body.is-login .wh-card {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: var(--neu);
  color: var(--neu-ink);
  border-radius: 22px;
  box-shadow:
    6px 6px 12px var(--neu-dark),
    -5px -5px 12px var(--neu-hi);
}
body.is-work .list-card,
body.is-work .card,
body.is-work .work-card,
body.is-login .wh-card {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
}
body.is-work .list-card + .list-card,
body.is-work .card + .card,
body.is-work .work-card + .work-card,
body.is-login .wh-card + .wh-card,
body.is-work .scan-hero + .list-card,
body.is-work .scan-hero + .card,
body.is-work .scan-hero + .empty {
  margin-top: 10px;
}
body.is-work .list-card .k,
body.is-work .card .k,
body.is-work .meta b,
body.is-work .work-item,
body.is-work .hint {
  color: var(--neu-mute);
}
body.is-work .list-card .v,
body.is-work .card .v,
body.is-work .meta,
body.is-work .work-loc,
body.is-work .work-qty {
  color: var(--neu-ink);
}
body.is-work .work-qty small { color: var(--neu-mute); }
body.is-work .list-card:active,
body.is-work .work-card:active,
body.is-login .wh-card:active {
  box-shadow:
    inset 5px 5px 10px var(--neu-dark),
    inset -3px -3px 8px var(--neu-hi);
}
body.is-login .wh-card strong {
  display: block;
  font-size: 17px;
  color: var(--neu-ink);
}
body.is-login .wh-card span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--neu-mute);
}

.work-cam {
  position: relative;
  flex: 0 0 auto;
  height: 188px;
  margin-bottom: 12px;
  border-radius: 22px;
  overflow: hidden;
  background: #1c1a17;
  box-shadow:
    inset 3px 3px 6px var(--neu-dark),
    inset -2px -2px 5px var(--neu-hi);
}
.work-cam video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work-cam-frame {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 26%;
  bottom: 32%;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 12px;
  pointer-events: none;
}
.work-cam p {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}
.work-scan-hint {
  margin: 0 4px 12px;
  font-size: calc(15px * var(--type-scale, 1));
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--neu-ink);
}
body.is-work .scan-hero {
  padding: 22px 16px;
  text-align: center;
}
body.is-work .scan-hero strong { color: var(--neu-ink); }
body.is-work .scan-hero .hint { color: var(--neu-mute); }
body.is-work .scan-ring {
  border-color: var(--neu-press);
  box-shadow:
    4px 4px 8px var(--neu-dark),
    -3px -3px 7px var(--neu-hi);
}

body.is-work .empty { color: var(--neu-mute); }
body.is-work .empty strong { color: var(--neu-ink); }

body.is-work .banner {
  border: 0;
  margin-top: 10px;
  border-radius: 18px;
  box-shadow:
    inset 3px 3px 6px var(--neu-dark),
    inset -2px -2px 5px var(--neu-hi);
}
body.is-work .banner.ok { background: var(--neu-well); color: #4a7c59; }
body.is-work .banner.warn { background: var(--neu-well); color: #b45309; }
body.is-work .banner.bad { background: var(--neu-well); color: var(--neu-out); }
body.is-work .banner.info { background: var(--neu-well); color: var(--neu-ink); }

body.is-work .btn,
body.is-work .qty-row .btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: var(--neu);
  color: var(--neu-ink);
  box-shadow:
    6px 6px 12px var(--neu-dark),
    -5px -5px 12px var(--neu-hi);
}
body.is-work .btn-cta,
body.is-work .btn-ghost,
body.is-work .btn-danger {
  background: var(--neu);
  color: var(--neu-ink);
}
body.is-work .btn-danger { color: var(--neu-out); }
body.is-work .btn:active,
body.is-work .qty-row .btn:active {
  box-shadow:
    inset 5px 5px 10px var(--neu-dark),
    inset -3px -3px 8px var(--neu-hi);
}
body.is-work .field {
  border: 0;
  background: var(--neu-well);
  color: var(--neu-ink);
  box-shadow:
    inset 3px 3px 6px var(--neu-dark),
    inset -2px -2px 5px var(--neu-hi);
}
body.is-work .field:focus {
  outline: none;
  border-color: transparent;
  background: var(--neu-well);
}
body.is-work .err { color: var(--neu-out); }

body.is-work .step-rail li {
  background: var(--neu);
  border: 0;
  color: var(--neu-mute);
  box-shadow:
    4px 4px 8px var(--neu-dark),
    -3px -3px 7px var(--neu-hi);
}
body.is-work .step-rail .is-on {
  color: var(--neu-ink);
  background: var(--neu);
  box-shadow:
    inset 4px 4px 8px var(--neu-dark),
    inset -3px -3px 6px var(--neu-hi);
}
body.is-work .step-rail .is-done { color: #4a7c59; }

body.is-work .pair em { color: var(--neu-mute); }
body.is-work .pair strong { color: var(--neu-ink); }
body.is-work .chip {
  background: var(--neu-well);
  color: var(--neu-ink);
}

.confirm-box {
  background: var(--neu);
  color: var(--neu-ink);
  box-shadow:
    10px 12px 24px var(--neu-dark),
    -6px -6px 16px var(--neu-hi);
}
.confirm-box h2 { color: var(--neu-ink); }
.confirm-box .hint { color: var(--neu-mute); }
.overlay:not(.overlay--scan) {
  background: rgba(45, 42, 38, 0.42);
}
