/* Fast floor-side stock discrepancy form; never auto-adjust inventory. */
.wh-stock-gap-dialog{border:0;border-radius:18px;padding:0;max-width:min(94vw,560px);width:100%;background:#fff;box-shadow:0 28px 84px rgba(17,47,38,.3);color:#173b30}
.wh-stock-gap-dialog::backdrop{background:rgba(11,28,25,.58)}
.wh-stock-gap-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:22px 24px 17px;border-bottom:1px solid #e3ece7}
.wh-stock-gap-head small{letter-spacing:.1em;font-size:10px;color:#bc6541;font-weight:850}
.wh-stock-gap-head h2{font-size:21px;margin:7px 0;line-height:1.3;color:#174432}
.wh-stock-gap-head p{margin:0;font-size:12px;color:#5d796c;line-height:1.5}
.wh-stock-gap-close{border:0;background:#eef3ef;color:#315747;width:32px;height:32px;flex:none;border-radius:50%;cursor:pointer;font-size:22px}
.wh-stock-gap-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:16px 24px;background:#f6faf7}
.wh-stock-gap-context span{font-size:12px;color:#527162}.wh-stock-gap-context b{display:block;color:#183e30;font-size:14px;margin-top:3px;overflow-wrap:anywhere}
.wh-stock-gap-dialog form{display:grid;gap:15px;padding:22px 24px}
.wh-stock-gap-dialog label{display:grid;gap:7px;font-size:13px;color:#385c4b;font-weight:800}
.wh-stock-gap-dialog input,.wh-stock-gap-dialog select{height:43px;border-radius:9px;border:1px solid #c7d9cd;padding:8px 12px;background:#fff;font-size:15px;color:#173d2f}
.wh-stock-gap-dialog input:focus-visible,.wh-stock-gap-dialog select:focus-visible{outline:2px solid #258763;outline-offset:2px}
.wh-stock-gap-warning{margin:0;padding:12px 14px;background:#fff8ea;border:1px solid #ebd5ad;border-radius:10px;color:#74532f;font-size:12px;line-height:1.65}
.wh-stock-gap-actions{display:flex;flex-wrap:wrap;gap:8px}
.wh-stock-gap-trigger{margin:13px 0}
#stock-gap-result{padding:0 24px 20px}
#stock-gap-result:empty{display:none}
@media(max-width:480px){.wh-stock-gap-head,.wh-stock-gap-dialog form{padding:17px}.wh-stock-gap-context{padding:14px 17px}.wh-stock-gap-context{grid-template-columns:1fr 1fr}.wh-stock-gap-actions .wh-btn{flex:1}}
@media(prefers-reduced-motion:reduce){.wh-stock-gap-dialog{scroll-behavior:auto}}
