.hfdv .hfdv-inventory-thumb{display:block;width:76px;height:64px;object-fit:contain;background:var(--hfdv-paper,#fff);border-radius:6px}
.hfdv .hfdv-inventory-photo-button{display:block;padding:3px;border:1px solid var(--hfdv-border,#ddd);border-radius:8px;background:transparent;cursor:pointer}
.hfdv .hfdv-inventory-photo-button:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.hfdv .hfdv-inventory-photo{display:block;width:auto;max-width:100%;height:auto;max-height:380px;object-fit:contain;margin:0 auto 24px}
.hfdv .hfdv-inventory-table{min-width:850px}
.hfdv .hfdv-inventory-table td{vertical-align:middle}
.hfdv .hfdv-inventory-table small{display:block}
@media(max-width:700px){
 .hfdv .hfdv-inventory-list{border:0;background:transparent;overflow:visible}
 .hfdv .hfdv-inventory-table{display:block;width:100%;min-width:0}
 .hfdv .hfdv-inventory-table thead{display:none}
 .hfdv .hfdv-inventory-table tbody{display:grid;gap:12px}
 .hfdv .hfdv-inventory-table tbody tr{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;padding:16px;border:1px solid var(--hfdv-border,#ddd);border-radius:9px;background:#fff}
 .hfdv .hfdv-inventory-table td{display:block;min-width:0;padding:0;border:0;text-align:left;white-space:normal;overflow-wrap:anywhere}
 .hfdv .hfdv-inventory-table td:first-child{grid-row:1/3}
 .hfdv .hfdv-inventory-table td:nth-child(2),.hfdv .hfdv-inventory-table td:nth-child(3){grid-column:2}
 .hfdv .hfdv-inventory-table td:nth-child(n+3)::before{display:block;content:attr(data-label);font-size:12px;font-weight:700;color:#555;margin-bottom:3px}
}
