.import-receipt-card{width:min(1300px,calc(100vw - 20px));height:min(660px,calc(100dvh - 20px))}
.import-receipt-card .inventory-dialog-body{flex:1;padding:7px 9px}
.import-receipt-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) 150px;gap:7px;margin-bottom:6px;padding:6px 8px;border:1px solid var(--ui-line);border-radius:8px;background:#f8fbfd}
#import-receipt-lines:not(:empty){border:1px solid var(--ui-line);border-radius:8px}
#import-receipt-lines table{width:100%;min-width:760px;table-layout:fixed}
#import-receipt-lines th:nth-child(1){width:52px}
#import-receipt-lines th:nth-child(2){width:28%}
#import-receipt-lines th:nth-child(3),#import-receipt-lines th:nth-child(4){width:90px}
#import-receipt-lines :is(td,th){padding:4px 5px}
#import-receipt-lines input:not([type=checkbox]){width:100%;min-width:0}
#import-receipt-lines .notice{margin:0;padding:8px}
#import-receipt-message{margin-inline-end:auto;color:var(--ui-danger);overflow-wrap:anywhere}
@media(max-width:760px){
  .import-receipt-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
  .import-receipt-controls .field:nth-child(2){grid-column:1/-1}
  .import-receipt-card{width:calc(100vw - 8px);height:calc(100dvh - 8px)}
}
