/* HF05DF · use the exact HF05CW manual PO receive workspace for Excel/import PO. */
.invoice-receipt-popup.hf05df-import-receive{background:#f8fbfa;display:flex;flex-direction:column}
.invoice-receipt-popup.hf05df-import-receive>.ap-heading{flex:0 0 auto}
.invoice-receipt-popup.hf05df-import-receive>#ap-invoice-content{flex:1 1 auto;min-height:0;height:auto;max-height:none}
.hf05df-import-receive-form{min-height:0}
.hf05df-import-receive-form .hf05cw-receive-top .hf05cu-supplier-card,
.hf05df-import-receive-form .hf05cw-receive-top .hf05cu-document-card,
.hf05df-import-receive-form .hf05cw-receive-top .hf05cu-vat-card{height:auto;min-height:116px}
.hf05df-import-doc-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;height:auto!important}
.hf05df-import-doc-fields label{min-width:0}
.hf05df-import-doc-fields label>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hf05df-import-doc-fields input{width:100%;min-width:0}
.hf05df-tax-card{padding:9px 12px!important;gap:6px!important;align-items:center}
.hf05df-tax-card .hf05cu-vat-check{flex-shrink:0;width:27px;height:27px;font-size:15px}
.hf05df-tax-card>div{min-width:0;flex:1}
.hf05df-tax-card label{margin:0!important;display:block!important}
.hf05df-tax-card label>span{display:block;font-size:11px!important;color:#255648;font-weight:800;margin-bottom:4px}
.hf05df-tax-card select{width:100%;max-width:100%;padding:7px 4px;border-radius:6px;font-size:11px;height:auto;background:white;border:1px solid #cadbd5;min-width:0}
.hf05df-tax-card small{font-size:10px!important;line-height:1.3;display:block;margin-top:3px}
.hf05df-import-receive .hf05cw-list-meta i b{background:#16945e}
.hf05df-import-count{background:#e7f6ee;color:#087745;box-shadow:none!important}
.hf05df-sn-panel{display:block!important}
.hf05df-sn-panel-content{display:flex;flex-direction:column;min-height:0;height:100%}
.hf05df-sn-count{color:#0c7950;font-size:12px;font-weight:800;white-space:nowrap}
.hf05df-sn-info{margin:12px;border-radius:8px;padding:12px;background:#eef8f2;color:#275847;font-size:12px;line-height:1.5}
.hf05df-sn-list{flex:1;min-height:0;margin:0 12px 12px;border:1px solid #dde9e4;border-radius:9px;overflow:auto}
.hf05df-sn-list table{border-collapse:collapse;width:100%;font-size:12px}
.hf05df-sn-list thead th{position:sticky;top:0;text-align:left;padding:10px 8px;background:#edf8f3;color:#3c6357;white-space:nowrap;font-size:11px}
.hf05df-sn-list td{padding:10px 8px;border-bottom:1px solid #e8efeb;overflow-wrap:anywhere}
.hf05df-sn-list tr:nth-child(even){background:#fafdfb}
.hf05df-sn-foot{padding:10px 12px;border-top:1px solid #dce8e4;font-size:11px;color:#4e6b60}
.hf05df-confirm-note{color:#536c62;font-size:11px;align-self:center}
.hf05df-import-receive-form .hf05cu-footer-right{align-items:center}
.hf05df-import-receive-form .hf05cw-receive-table td:nth-child(2){min-width:0}
@media(max-width:1180px){
 .hf05df-import-doc-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .hf05df-import-receive-form .hf05cw-receive-workspace{grid-template-columns:1fr}
 .hf05df-import-receive-form .hf05cw-receive-left{min-height:300px;height:auto}
 .hf05df-import-receive-form .hf05cw-receive-right{min-height:260px;height:320px}
 .hf05df-import-receive-form .hf05cw-receive-footer{position:sticky;bottom:0}
}
@media(max-width:760px){
 .hf05df-import-doc-fields{grid-template-columns:1fr!important}
 .hf05df-import-receive-form .hf05cw-receive-top .hf05cu-vat-card{grid-column:auto}
 .hf05df-import-receive-form .hf05cw-receive-left{min-height:330px}
 .hf05df-import-receive-form .hf05cw-receive-footer .hf05cu-footer-right{display:flex;flex-direction:column;align-items:stretch}
 .hf05df-confirm-note{text-align:center}
}
