.merchant-pack-shelf{width:min(580px,calc(100vw - 28px));max-height:calc(100vh - 32px);padding:0;border:1px solid #d5dfda;border-radius:10px;box-shadow:0 16px 60px #192d273b;color:#222d2e;font-size:14px;background:white}
.merchant-pack-shelf::backdrop{background:#17252270}
.merchant-pack-shelf header,.merchant-pack-shelf footer{display:flex;align-items:center;gap:10px;padding:16px 22px}
.merchant-pack-shelf header{justify-content:space-between;border-bottom:1px solid #dbe2df}
.merchant-pack-shelf h2{margin:0;font-size:18px}
.merchant-pack-shelf button{font:inherit;font-weight:600;padding:8px 15px;border:1px solid #ced9d4;border-radius:6px;cursor:pointer;color:#263430;background:white}
.merchant-pack-shelf [data-close]{padding:0;width:32px;height:32px;font-size:20px}
.merchant-pack-shelf section{padding:17px 22px 20px}
.merchant-pack-shelf .pack-product{display:flex;justify-content:space-between;gap:12px;border-bottom:1px dashed #d8e2de;padding-bottom:14px;overflow-wrap:anywhere}
.merchant-pack-shelf .pack-product strong{font-size:16px}
.merchant-pack-shelf small{display:block;font-size:12px;color:#596b63;margin:4px 0}
.merchant-pack-shelf [data-barcode]{color:#223d34}
.merchant-pack-shelf .pack-quantity{flex-shrink:0;text-align:right}
.merchant-pack-shelf .pack-warning{background:#fff8e8;border:1px solid #ead9b1;border-radius:5px;color:#854719;padding:9px 12px;margin:14px 0}
.merchant-pack-shelf .pack-rack{padding:14px 16px;background:#f4f8f5;border:1px solid #d1dfd7;border-radius:7px;overflow-wrap:anywhere}
.merchant-pack-shelf .pack-rack>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
.merchant-pack-shelf label{font-weight:650}
.merchant-pack-shelf [data-switch]{background:transparent;padding:2px 0;border:0;color:#16644f;font-size:13px}
.merchant-pack-shelf [data-position]{display:block;font-size:26px;color:#18558c}
.merchant-pack-shelf input{box-sizing:border-box;width:100%;margin:9px 0 0;padding:8px 11px;border:1px solid #b8c9c1;border-radius:5px;font:inherit}
.merchant-pack-shelf footer{border-top:1px solid #dbe2df;justify-content:flex-end;flex-wrap:wrap}
.merchant-pack-shelf footer small{margin-right:auto}
.merchant-pack-shelf [type=submit]{background:#222a2b;color:white;border-color:#222a2b}
.merchant-pack-shelf [type=submit]:disabled{background:#d9dfdc;border-color:#d9dfdc;color:#55645c;cursor:default}
.merchant-pack-shelf [hidden]{display:none!important}

.merchant-pack-missing{color:#92531b;font-weight:700}
.purchase-order-row.merchant-pack-review{outline:2px solid #298169;outline-offset:-2px}
.merchant-pack-review .status-cell::before{content:"正在核对这笔订单";display:block;color:#226450;font-size:12px;font-weight:700}
