/* Explicit warehouse workflows and purchase ledger. */
.wh-caption{font-size:13px;color:#7c8981;line-height:1.7;margin:8px 0 0}.wh-records-modal{width:min(1250px,95vw);max-width:1250px}.wh-action-modal{width:min(560px,94vw)}.wh-records-modal .modal-body{padding-top:18px}.wh-ledger-top{display:flex;gap:32px;align-items:center;background:#f2f6ef;padding:20px 24px;border-radius:14px;margin-bottom:20px}.wh-ledger-top>div{display:flex;gap:9px;align-items:baseline}.wh-ledger-top strong{font-size:27px;color:#234b3e}.wh-ledger-top span{font-size:12px;color:#7c8981}.wh-ledger-top .button{margin-left:auto}.wh-search-row{display:flex;gap:12px;margin-bottom:17px}.wh-search-row .search-box{flex:1;max-width:none}.wh-ledger-scroll{overflow:auto;max-height:48vh;border:1px solid #e7ece4;border-radius:12px}.wh-ledger-table{width:100%;min-width:990px;border-collapse:collapse}.wh-ledger-table th{text-align:left;background:#f7f9f4;color:#7c8e77;padding:15px 16px;font-size:12px;font-weight:600;white-space:nowrap;position:sticky;top:0;z-index:1}.wh-ledger-table td{padding:19px 16px;border-top:1px solid #ecf0e8;vertical-align:middle;font-size:13px;color:#3c5347}.wh-ledger-table td time,.wh-ledger-table td strong,.wh-ledger-table td small{display:block}.wh-ledger-table td time{font-size:11px;color:#8a978c;margin-bottom:7px}.wh-ledger-table td small{font-size:10px;color:#91a08e;margin-top:5px}.wh-ledger-table .sku{display:inline-block;margin-top:7px}.wh-ledger-table .wh-received-number{font-size:25px;color:#718d4b;font-weight:650}.wh-platform-label{display:block;color:#8da07b;font-size:11px;margin-bottom:6px}.wh-order-value{word-break:break-all;display:block;max-width:190px}.wh-tracking-cell{word-break:break-all;max-width:170px}.wh-status{display:inline-flex;font-size:11px;color:#bd8155;background:#fcf2e7;border-radius:5px;padding:4px 7px}.wh-status.received{background:#eff6e8;color:#738e51}.wh-record-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px;max-width:240px}.wh-record-actions button{font:inherit;font-size:11px;border:1px solid #dfe9d7;border-radius:6px;background:white;padding:7px 8px;color:#6a8059;cursor:pointer;white-space:nowrap}.wh-record-actions button:first-child{background:#eef5e5}.wh-record-actions button:disabled{opacity:.35;cursor:default}.wh-record-actions .wh-delete{color:#b17c66;border-color:#eee4df}.wh-record-footer{display:flex;justify-content:space-between;align-items:center;color:#98a18e;font-size:12px;margin-top:17px;gap:15px}.wh-record-footer>div{display:flex;gap:10px;align-items:center}.wh-footnote{font-size:11px;line-height:1.8;color:#99a08f;margin:14px 0 0}.wh-record-empty{text-align:center;font-size:13px;color:#87927e;padding:50px 24px}.wh-product-heading{background:#f3f7ef;padding:17px 19px;border-radius:12px;display:flex;flex-direction:column;gap:9px}.wh-product-heading strong{font-size:16px;color:#2c5141}.wh-product-heading span{font-size:12px;color:#8a9c7a}.wh-mode-note{color:#849179;font-size:12px;line-height:1.9;margin:17px 0}.wh-required{color:#d58c5d;font-size:11px;font-weight:500}.wh-action-modal .receipt-preview{font-size:12px;line-height:1.8;padding:14px 16px}.warehouse-stock-primary{display:flex;align-items:center;gap:11px}.warehouse-stock-primary>strong{font-size:24px;color:#355b43;font-weight:650;line-height:1}.warehouse-stock-primary>span{color:#87987c;font-size:11px}.warehouse-company-secondary{color:#9aa58f;font-size:11px;margin-top:9px;display:flex;gap:9px}.warehouse-company-secondary b{color:#7b8c6c;font-weight:500}.wh-transit-stock{display:flex;flex-direction:column;gap:7px}.wh-transit-stock strong{font-size:23px;color:#bc956c;font-weight:500}.wh-transit-stock span{font-size:10px;color:#a3a78d}.wh-product-actions{display:grid;grid-template-columns:repeat(2,auto);gap:5px;min-width:148px}.wh-product-actions button{font:inherit;font-size:11px;border:1px solid #e2e9d9;border-radius:6px;padding:7px 8px;background:white;color:#7b9065;white-space:nowrap;cursor:pointer}.wh-product-actions .wh-primary{background:#eef5e5}.wh-product-actions button:disabled{opacity:.4;cursor:default}.wh-product-actions .wh-records-link{grid-column:1/-1;background:transparent;text-align:left;border:0;padding-left:0;font-size:11px;color:#9ca88a}.wh-catalog-note{background:#f6f8f2;padding:14px 17px;border-radius:10px;color:#8b987d;font-size:12px;line-height:1.8}.inventory-table{min-width:1280px}.wh-flow-strip{display:flex;gap:12px;align-items:center;background:#f1f5ec;border:1px solid #e3ebdb;padding:15px 21px;border-radius:13px;margin:0 0 20px;font-size:12px;color:#859575;flex-wrap:wrap}.wh-flow-strip strong{color:#5f7952;font-size:13px}.wh-flow-strip i{color:#b0bb9f;font-style:normal}.wh-flow-strip .button{margin-left:auto}.thumbnail img,.image-preview img{object-fit:contain}
@media(max-width:700px){.wh-ledger-top{gap:14px;flex-wrap:wrap;padding:16px}.wh-ledger-top>div{flex-direction:column;gap:4px}.wh-ledger-top strong{font-size:23px}.wh-ledger-top .button{margin-left:auto}.wh-record-footer{align-items:flex-start;flex-direction:column}.wh-flow-strip{padding:13px 16px}.wh-flow-strip .button{margin-left:0}.wh-search-row{flex-wrap:wrap}.wh-search-row .search-box{min-width:190px}.wh-records-modal .modal-header{padding:22px}.wh-caption{font-size:11px}}
.wh-catalog-records{font:inherit;font-size:10px;padding:0;border:0;background:none;color:#8d9e7c;cursor:pointer;text-align:left}.wh-product-actions+.row-actions{margin-top:5px;justify-content:flex-end}.wh-records-modal table td:first-child{min-width:190px}

/* Product identity stays visual in purchase rows and stock dialogs. */
.wh-product-photo{display:inline-flex;align-items:center;justify-content:center;flex:0 0 64px;width:64px;height:64px;overflow:hidden;border:1px solid var(--theme-ui-border);border-radius:10px;background:var(--theme-ui-panel);color:var(--theme-dense-text)}
.wh-product-photo img{display:block;width:100%;height:100%;padding:4px;object-fit:contain}.wh-product-photo>.icon{width:25px;height:25px;opacity:.55}
.wh-ledger-product{display:flex;align-items:center;gap:12px;min-width:0;margin-top:9px}.wh-ledger-product>div{min-width:0}.wh-ledger-product strong{margin-top:0!important;overflow-wrap:anywhere}
.wh-product-heading{display:flex;align-items:center;justify-content:flex-start;gap:14px}.wh-product-heading>div{display:grid;gap:6px;min-width:0}.wh-product-heading>span{flex-shrink:0}.wh-product-heading #wh-stock-overview{display:block;line-height:1.7}
.wh-pending-product-heading{display:flex;gap:12px;align-items:center;margin-top:12px}.wh-pending-product-heading .wh-pending-caption{margin:0}.wh-pending-product-heading>span:empty{display:none}
@media(max-width:680px){.wh-product-photo{width:56px;height:56px;flex-basis:56px}.wh-ledger-product{gap:9px}}
