.nav{grid-template-columns:repeat(5,1fr)}
.scan-field{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}
.scan-field .small-button{height:48px;margin-bottom:0}
.camera.compact{min-height:220px;margin-top:12px}
.status.reserved{background:#eee8ff;color:#6543a5}
.pallet-current{padding:12px;border-radius:10px;background:#eef5fb;margin:10px 0;color:#173f69}
.outbound-choice{display:grid;gap:10px;margin:14px 0;padding:12px;border:1px solid #cbd8e5;border-radius:12px}
.outbound-choice legend{padding:0 6px;font-weight:700;color:#173f69}
.outbound-choice label{display:flex;align-items:center;gap:9px;min-height:34px}
.outbound-choice input{width:20px;height:20px}
#pallet-out-quantity-wrap[hidden]{display:none}
.plan-warning{padding:12px;border-radius:10px;background:#fff2cc;border:1px solid #e2b93b;margin:10px 0;color:#6b4b00}
.plan-warning span{display:block;margin:5px 0 9px}
.plan-warning[hidden]{display:none}
.camera{position:relative}
.scan-guide{position:absolute;inset:0;pointer-events:none;display:grid;place-items:center}
.scan-guide::before{content:"";width:min(58vw,230px);height:min(58vw,230px);max-height:72%;border:4px solid #fff;border-radius:18px;box-shadow:0 0 0 999px rgba(0,0,0,.32),0 0 18px rgba(0,0,0,.65)}
.scan-guide span{position:absolute;bottom:12px;background:rgba(0,0,0,.72);color:#fff;border-radius:18px;padding:7px 12px;font-size:12px;font-weight:800}
@media(max-width:520px){.nav button{font-size:11px}.scan-field{grid-template-columns:1fr}.scan-field .small-button{width:100%}}
