.cost-value .purchase-usd{display:block;font-size:11px;line-height:1.45;white-space:normal;max-width:280px;color:inherit;margin-top:3px}
/* Mask without moving the actions underneath during pointerdown. */
.cost-toggle:has(.purchase-usd){position:relative}
@layer brand-visibility{html[data-module-ui="inventory"] body#inventoryListing.inventory-redesign .cost-toggle:has(.purchase-usd) .cost-value[hidden]{display:flex!important;visibility:hidden!important}}
.cost-toggle:has(.purchase-usd) .cost-mask:not([hidden]){position:absolute;inset-inline-start:8px;top:50%;transform:translateY(-50%)}
.usd-history-tools{display:flex;gap:10px;align-items:end;padding:10px 16px;flex-wrap:wrap;background:#f1f5f8}
.usd-history-tools label{display:grid;gap:4px;font-size:12px;font-weight:600;color:#173653;flex:1;min-width:140px}
.usd-history-tools input,.usd-history-tools select{box-sizing:border-box;min-height:34px;width:100%;border:1px solid #aebfce;border-radius:6px;background:#fff;color:#173653;padding:6px 10px;box-shadow:none;outline:0;font:inherit}
.usd-history-tools input:focus,.usd-history-tools select:focus{border-color:#176658;box-shadow:0 0 0 2px #17665844}
.usd-history-note{font-size:12px;line-height:1.45;margin:8px 16px;color:#43596d}
#unitCostModal .unit-cost-table{min-width:980px}
#unitCostModal .unit-cost-table td{font-size:12px;vertical-align:top}
#unitCostModal .usd-original{color:#165d52;white-space:nowrap}
#unitCostModal .usd-source{display:block;max-width:190px;white-space:normal;font-size:11px;color:#52677a;margin-top:4px}
#unitCostModal .unit-cost-table-wrap{min-height:70px;overflow:auto}
@media(max-width:700px){.usd-history-tools{gap:8px;padding:8px 10px}.usd-history-tools label{min-width:100px}.usd-history-tools input,.usd-history-tools select{min-height:44px;font-size:14px}.usd-history-note{margin:6px 10px;font-size:11px}.cost-value .purchase-usd{max-width:210px}}
@layer brand-visibility{@media(max-width:700px){
html[data-module-ui="inventory"][data-inventory-windows] body#inventoryListing.inventory-redesign.inventory-polished #unitCostModal .unit-cost-table{display:block!important;min-width:0!important;width:100%!important;table-layout:auto!important}
html[data-module-ui="inventory"][data-inventory-windows] body#inventoryListing.inventory-redesign.inventory-polished #unitCostModal .unit-cost-table thead{display:none!important}
html[data-module-ui="inventory"][data-inventory-windows] body#inventoryListing.inventory-redesign.inventory-polished #unitCostModal .unit-cost-table tbody{display:block!important;min-width:0!important;width:100%!important}
html[data-module-ui="inventory"][data-inventory-windows] body#inventoryListing.inventory-redesign.inventory-polished #unitCostModal .unit-cost-table tr{display:grid!important;min-width:0!important;width:100%!important;box-sizing:border-box!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:10px!important;gap:8px 12px!important;border-bottom:1px solid #dce5ed!important}
html[data-module-ui="inventory"][data-inventory-windows] body#inventoryListing.inventory-redesign.inventory-polished #unitCostModal .unit-cost-table td{display:block!important;min-width:0!important;min-height:0!important;height:auto!important;max-width:none!important;width:auto!important;padding:0!important;border:0!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important}
html[data-module-ui="inventory"][data-inventory-windows] body#inventoryListing.inventory-redesign.inventory-polished #unitCostModal .unit-cost-table td:first-child{grid-column:1/-1!important}
html[data-module-ui="inventory"][data-inventory-windows] body#inventoryListing.inventory-redesign.inventory-polished #unitCostModal .unit-cost-table td::before{content:attr(data-label);display:block;color:#52677a;font:500 10px/1.4 'Segoe UI',sans-serif;margin-bottom:2px}
html[data-module-ui="inventory"][data-inventory-windows] body#inventoryListing.inventory-redesign.inventory-polished #unitCostModal .unit-cost-table td:first-child::before{display:none}
}}


.cost-value .purchase-usd{white-space:pre-line}
