/* Import review only: compact content with native, reachable inputs/actions. */
#purchase-review .import-review-top{display:grid;gap:8px;margin:0 0 10px}
#purchase-review .import-entry-fields,#purchase-details .import-entry-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}
#purchase-review .import-entry-fields>.field,#purchase-details .import-entry-fields>.field{margin:0;min-width:0}
#purchase-review .import-details{border:1px solid var(--line);border-radius:10px;padding:8px 10px;margin:8px 0}
#purchase-review .import-details>summary{cursor:pointer;font-size:12px;line-height:1.4;min-height:32px;display:flex;align-items:center;gap:6px;color:var(--action-ink,var(--green))}
#purchase-review .import-details>.form-grid{margin-top:8px;gap:8px 10px}
#purchase-review .import-draft-status{font-size:11px;line-height:1.4;color:var(--muted);margin:3px 0 0}
#purchase-review .import-documents{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin:0 0 7px}
#purchase-review .import-documents>.text-button{font-size:11px;min-height:36px}
#purchase-review .import-lines{gap:8px;margin:9px 0}
#purchase-review .import-line{border-width:1px;border-radius:11px;padding:10px;gap:7px}
#purchase-review .import-line-head{gap:8px;font-size:12px}
#purchase-review .import-line-title{display:grid;gap:3px;min-width:0;flex:1}
#purchase-review .import-line-title>b{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
#purchase-review .import-line-head>label{min-height:36px}
#purchase-review .import-line-head>label{flex:none}
#purchase-review .import-product-picker{margin:0;border:0;padding:0}
#purchase-review .import-product-picker>summary{font-size:11px;min-height:30px;line-height:1.35;display:flex;align-items:center;gap:7px;color:var(--action-ink,var(--green));cursor:pointer}
#purchase-review .import-product-picker>summary::after{content:'⌄';margin-left:auto}
#purchase-review .import-product-picker[open]>.import-product-search{margin:4px 0}
#purchase-review .import-line-essentials{grid-template-columns:repeat(2,minmax(0,1fr))}
#purchase-review .import-freight-payment,#purchase-details .import-freight-payment{margin:0;padding:0}
#purchase-review .import-freight-payment[hidden],#purchase-details .import-freight-payment[hidden]{display:none}
#purchase-review .import-freight-payment>summary,#purchase-details .import-freight-payment>summary{cursor:pointer;font-size:11px;line-height:1.4;min-height:30px;padding:2px 0;color:var(--action-ink,var(--green))}
#purchase-review .import-freight-payment>.import-entry-fields,#purchase-details .import-freight-payment>.import-entry-fields{margin-top:5px}
#purchase-review .import-line .field{margin-bottom:0;gap:4px;min-width:0}
#purchase-review .import-product-search{display:grid;gap:5px}
#purchase-review .import-product-search>input{width:100%;min-width:0;min-height:44px;padding:8px 10px}
#purchase-review .import-product-search select{max-width:100%;text-overflow:ellipsis}
#purchase-review .import-line .form-grid{gap:8px 10px}
#purchase-review .import-new-product{display:grid;gap:8px}
#purchase-review .import-new-product[hidden]{display:none}
#purchase-review .import-line-total{font-size:12px;font-weight:600;line-height:1.4;color:var(--action-ink,var(--green))}
#purchase-review .import-photo{margin-top:3px}
#purchase-review .import-photo>summary{font-size:12px;min-height:36px;display:flex;align-items:center;cursor:pointer}
#purchase-review .import-photo .photo-editor{margin:4px 0 0;padding:8px}
#purchase-review .purchase-payment{padding-top:8px;margin-top:10px;border-top:1px solid var(--line)}
#purchase-review .purchase-payment h3{font-size:14px;line-height:1.35;margin:0 0 7px}
#purchase-review .purchase-payment-choices{display:flex;gap:5px;flex-wrap:wrap}
#purchase-review .purchase-payment-choices>.btn{padding:7px 9px;font-size:12px;min-height:44px}
#purchase-review .import-review-check{margin:10px 0 6px;font-size:12px;line-height:1.45;min-height:44px}
#purchase-review .import-review-check>input,#purchase-review .import-line-head input[type=checkbox]{width:20px;height:20px;min-height:20px;padding:0;flex:none;accent-color:var(--action,var(--green))}
.import-history-summary{margin:0 0 10px}
.import-history .import-history-row{gap:10px;padding:10px 0;min-width:0}
.import-history .import-history-row>span{min-width:0}
.import-history .import-history-row b,.import-history .import-history-row small{overflow-wrap:anywhere}
.import-history .import-history-row small{font-size:11px;line-height:1.4}
@media(max-width:600px){#purchase-review .import-entry-fields{gap:7px}#purchase-review .import-line{padding:9px}#purchase-review .import-product-search>input,#purchase-review .import-line input,#purchase-review .import-line select{font-size:16px}#purchase-review .photo-edit-actions .actions{gap:5px}}

.import-line-essentials [data-cost-currency]{display:inline}
