.warehouse-board{display:grid;gap:18px;padding:0 0 32px;background:transparent}
.warehouse-panel{overflow:hidden;border:1px solid #d8e5e8;border-radius:16px;background:#fff;box-shadow:0 8px 24px #1438440a}
.warehouse-panel>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid #e3ecee;background:linear-gradient(110deg,#fbfdfd,#f5f9f4)}
.warehouse-panel>header>div{min-width:0}.warehouse-panel>header small{display:block;margin-bottom:3px;color:#75929c;font-size:10px;font-weight:800;letter-spacing:.16em}.warehouse-panel>header h2{display:inline;margin:0;color:#0a3a49;font-size:20px;line-height:1.2}.warehouse-panel>header p{display:inline;margin:0 0 0 12px;color:#7c929a;font-size:12px}.warehouse-panel>header>strong{display:grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border-radius:11px;background:#eaf4d8;color:#4c7729;font-size:16px}
.warehouse-history>header{background:linear-gradient(110deg,#fbfcfc,#f1f5f6)}.warehouse-history>header>strong{background:#e9eff1;color:#647d86}
.warehouse-request-list{display:grid;gap:0}.warehouse-request-row{display:grid;grid-template-columns:142px minmax(240px,1fr) 220px 220px 106px;align-items:center;min-height:82px;padding:10px 16px;gap:16px;border-bottom:1px solid #e8eff1;color:#254d5b}.warehouse-request-row:last-child{border-bottom:0}.warehouse-request-row:hover{background:#fbfdf7}.warehouse-request-row.is-complete{grid-template-columns:142px minmax(240px,1fr) 220px 220px;background:#fbfcfc;color:#607982}.warehouse-request-row.is-complete:hover{background:#f7faf9}
.warehouse-request-label{display:grid;place-items:center;width:142px;height:52px;overflow:hidden;border:1px solid #dce8e8;border-radius:8px;background:#edf4f2}.warehouse-request-label img{display:block;width:100%;height:100%;object-fit:cover}.warehouse-request-label span{color:#79959b;font-size:25px}
.warehouse-request-main{min-width:0}.warehouse-request-main>div{display:flex;align-items:center;gap:10px}.warehouse-request-main strong{color:#082f3e;font-size:18px;line-height:1.2}.warehouse-request-main small{display:block;overflow:hidden;margin-top:7px;color:#758d96;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.warehouse-group-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;background:#edf5dc;color:#54762f;font-size:12px;font-weight:700;white-space:nowrap}
.warehouse-request-meta{display:flex;min-width:0;flex-direction:column;gap:5px;color:#587581;font-size:12px}.warehouse-request-meta span,.warehouse-request-meta time{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.warehouse-completed-meta{color:#678178}
.warehouse-complete-button{min-width:96px;height:36px;border:1px solid #9fc456;border-radius:9px;background:#c8e86c;color:#173e31;font:inherit;font-size:13px;font-weight:800;cursor:pointer;box-shadow:0 2px 8px #789b2924}.warehouse-complete-button:hover{background:#bde05b}.warehouse-complete-button:focus-visible{outline:3px solid #7fa63555;outline-offset:2px}.warehouse-complete-button:disabled{border-color:#d5dfe1;background:#eef2f3;color:#9aabad;cursor:not-allowed;box-shadow:none}
.warehouse-panel .warehouse-empty{margin:14px;padding:26px;border:1px dashed #cbdcdf;border-radius:11px;color:#80959c;font-size:13px;text-align:center}
.staging-request-dialog{width:min(480px,calc(100vw - 32px));padding:22px;border:1px solid #d1e0e3;border-radius:16px;color:#173e4b;box-shadow:0 24px 70px #08293642}.staging-request-dialog::backdrop{background:#06202b66;backdrop-filter:blur(2px)}.staging-request-dialog .dialog-head{margin-bottom:10px}.staging-request-dialog .dialog-head small{display:block;margin-bottom:4px;color:#78939c;font-size:10px;font-weight:800;letter-spacing:.14em}.staging-request-dialog .dialog-head h2{margin:0;font-size:21px}.staging-request-dialog>p{margin:0 0 16px;color:#6d8790;font-size:13px}.staging-group-options{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.staging-group-options button{min-height:48px;padding:8px;border:1px solid #cbdcdf;border-radius:10px;background:#f8fbfb;color:#214b59;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.staging-group-options button:hover,.staging-group-options button:focus-visible{border-color:#a5c84e;background:#edf6d9;outline:0}.staging-group-options button:last-child{background:#dff08f;border-color:#b3d05c}
@media(max-width:1200px){.warehouse-request-row{grid-template-columns:125px minmax(210px,1fr) 180px 180px 98px;gap:12px}.warehouse-request-row.is-complete{grid-template-columns:125px minmax(210px,1fr) 180px 180px}.warehouse-request-label{width:125px;height:46px}.warehouse-panel>header p{display:block;margin:5px 0 0}}
@media(max-width:1000px){.warehouse-request-row{grid-template-columns:100px minmax(140px,1fr) 145px 145px 86px;padding:9px 11px;gap:8px}.warehouse-request-row.is-complete{grid-template-columns:100px minmax(140px,1fr) 145px 145px}.warehouse-request-label{width:100px;height:40px}.warehouse-request-main strong{font-size:16px}.warehouse-request-meta,.warehouse-request-main small,.warehouse-group-badge{font-size:11px}.warehouse-complete-button{min-width:82px}}
html.mobile-device .warehouse-board{gap:22px;padding:0 18px 42px}html.mobile-device .warehouse-panel{border-radius:20px}html.mobile-device .warehouse-panel>header{padding:24px 28px}html.mobile-device .warehouse-panel>header small{font-size:16px}html.mobile-device .warehouse-panel>header h2{font-size:28px}html.mobile-device .warehouse-panel>header p{font-size:19px}html.mobile-device .warehouse-panel>header>strong{min-width:48px;height:48px;font-size:23px}html.mobile-device .warehouse-request-row{grid-template-columns:170px minmax(230px,1fr) 210px 210px 126px;min-height:112px;padding:15px 20px;gap:15px}html.mobile-device .warehouse-request-row.is-complete{grid-template-columns:170px minmax(230px,1fr) 210px 210px}html.mobile-device .warehouse-request-label{width:170px;height:62px}html.mobile-device .warehouse-request-main strong{font-size:25px}html.mobile-device .warehouse-group-badge,html.mobile-device .warehouse-request-main small,html.mobile-device .warehouse-request-meta{font-size:18px}html.mobile-device .warehouse-complete-button{height:48px;font-size:19px}html.mobile-device .staging-request-dialog{width:650px;padding:30px;border-radius:22px}html.mobile-device .staging-request-dialog .dialog-head h2{font-size:30px}html.mobile-device .staging-request-dialog .dialog-head small,html.mobile-device .staging-request-dialog>p,html.mobile-device .staging-group-options button{font-size:20px}html.mobile-device .staging-group-options button{min-height:68px}

/* Keep pending and prepared rows on the same compact six-column grid. */
.warehouse-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;border-bottom:1px solid #e3ecee;background:linear-gradient(110deg,#fbfcfc,#f1f5f6);list-style:none;cursor:pointer}.warehouse-panel>summary::-webkit-details-marker{display:none}.warehouse-history:not([open])>summary{border-bottom:0}.warehouse-panel>summary>div{min-width:0}.warehouse-panel>summary small{display:block;margin-bottom:3px;color:#75929c;font-size:10px;font-weight:800;letter-spacing:.16em}.warehouse-panel>summary h2{display:inline;margin:0;color:#0a3a49;font-size:19px;line-height:1.2}.warehouse-panel>summary p{display:inline;margin:0 0 0 12px;color:#7c929a;font-size:12px}.warehouse-history-toggle{display:flex;align-items:center;gap:9px}.warehouse-history-toggle>strong{display:grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border-radius:11px;background:#e9eff1;color:#647d86;font-size:16px}.warehouse-history-toggle svg{width:18px;height:18px;fill:none;stroke:#68828a;stroke-width:1.8;transition:transform .18s ease}.warehouse-history[open] .warehouse-history-toggle svg{transform:rotate(180deg)}
.warehouse-list-head,.warehouse-request-row,.warehouse-request-row.is-complete{display:grid;grid-template-columns:116px minmax(90px,.4fr) minmax(160px,.8fr) minmax(180px,1fr) 160px 205px;align-items:center;column-gap:14px}.warehouse-list-head{min-height:32px;padding:0 18px;border-bottom:1px solid #e8eff1;background:#f8fbfb;color:#8ba0a7;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.warehouse-request-row,.warehouse-request-row.is-complete{min-height:72px;padding:9px 18px;gap:0 14px}.warehouse-request-label{width:116px;height:44px}.warehouse-request-main strong{font-size:17px}.warehouse-request-scope{display:flex;min-width:0;align-items:center;gap:9px}.warehouse-request-scope small{overflow:hidden;color:#758d96;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.warehouse-request-note{box-sizing:border-box;width:100%;height:34px;min-width:0;padding:6px 9px;border:1px solid #d7e3e7;border-radius:7px;background:#f7fafb;color:#3f6471;font:inherit;font-size:12px}.warehouse-request-note:focus{border-color:#a9c65c;background:#fff;outline:2px solid #a9c65c2e}.warehouse-list-head>span:last-child{text-align:center}.warehouse-complete-button{justify-self:center;width:112px}.warehouse-completed-cell{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:10px}.warehouse-completed-cell .warehouse-request-meta{flex:1}.warehouse-delete-button{flex:0 0 auto;min-width:68px;height:32px;padding:0 10px;border:1px solid #e4b5b9;border-radius:8px;background:#fff;color:#b5404a;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.warehouse-delete-button:hover,.warehouse-delete-button:focus-visible{border-color:#cf6670;background:#fff3f4;outline:0}.warehouse-panel .warehouse-empty{grid-column:1/-1}
@media(max-width:1200px){.warehouse-list-head,.warehouse-request-row,.warehouse-request-row.is-complete{grid-template-columns:104px minmax(80px,.35fr) minmax(145px,.75fr) minmax(150px,1fr) 145px 170px;column-gap:10px}.warehouse-list-head{padding:0 14px}.warehouse-request-row,.warehouse-request-row.is-complete{padding:9px 14px;gap:0 10px}.warehouse-request-label{width:104px;height:41px}.warehouse-panel>summary p{display:block;margin:5px 0 0}.warehouse-complete-button{width:96px}.warehouse-completed-cell{gap:6px}.warehouse-delete-button{min-width:56px;padding:0 7px}}
@media(max-width:1000px){.warehouse-list-head,.warehouse-request-row,.warehouse-request-row.is-complete{grid-template-columns:86px minmax(70px,.3fr) minmax(120px,.65fr) minmax(130px,1fr) 125px 140px;column-gap:7px}.warehouse-list-head{padding:0 10px}.warehouse-request-row,.warehouse-request-row.is-complete{min-height:62px;padding:8px 10px;gap:0 7px}.warehouse-request-label{width:86px;height:36px}.warehouse-request-main strong{font-size:15px}.warehouse-request-meta,.warehouse-request-scope small,.warehouse-group-badge,.warehouse-request-note{font-size:10px}.warehouse-complete-button{width:78px}.warehouse-delete-button{min-width:48px;font-size:10px}}
html.mobile-device .warehouse-panel>summary{padding:24px 28px}html.mobile-device .warehouse-panel>summary small{font-size:16px}html.mobile-device .warehouse-panel>summary h2{font-size:28px}html.mobile-device .warehouse-panel>summary p{font-size:19px}html.mobile-device .warehouse-history-toggle>strong{min-width:48px;height:48px;font-size:23px}html.mobile-device .warehouse-history-toggle svg{width:27px;height:27px}html.mobile-device .warehouse-list-head,html.mobile-device .warehouse-request-row,html.mobile-device .warehouse-request-row.is-complete{grid-template-columns:120px 115px 180px minmax(200px,1fr) 170px 190px;column-gap:10px}html.mobile-device .warehouse-list-head{min-height:45px;padding:0 18px;font-size:15px}html.mobile-device .warehouse-request-row,html.mobile-device .warehouse-request-row.is-complete{min-height:104px;padding:14px 18px;gap:0 10px}html.mobile-device .warehouse-request-label{width:120px;height:48px}html.mobile-device .warehouse-request-main strong{font-size:23px}html.mobile-device .warehouse-group-badge,html.mobile-device .warehouse-request-scope small,html.mobile-device .warehouse-request-meta,html.mobile-device .warehouse-request-note{font-size:17px}html.mobile-device .warehouse-request-note{height:46px;padding:8px 10px}html.mobile-device .warehouse-complete-button{width:120px;height:48px;font-size:18px}html.mobile-device .warehouse-delete-button{min-width:82px;height:43px;font-size:16px}
