/* HUU 9.0.38 – compact separate invoice lists; no accounting or asset changes */
.view[data-screen="invoices"] .page-title{margin-bottom:18px}
.view[data-screen="invoices"] .page-title h1{font-size:clamp(25px,3vw,32px);margin:0 0 6px}
.view[data-screen="invoices"] .page-title p{font-size:13px;color:#788079}
.view[data-screen="invoices"] #invoice-list{border:1px solid #e9edf0;border-radius:17px;background:#fff;box-shadow:0 8px 26px #18233408;padding:18px 20px;overflow-x:auto}
.huu-invoice-status-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:0 0 17px;border-bottom:1px solid #eceff1;margin-bottom:12px}
.huu-invoice-status-tabs button{display:inline-flex;align-items:center;gap:7px;border:1px solid #e8e9eb;background:#fafbfc;color:#4f5c68;padding:10px 12px;border-radius:10px;font-size:12px;font-weight:720;white-space:nowrap}
.huu-invoice-status-tabs button span{font-variant-numeric:tabular-nums;background:#eef1f4;border-radius:7px;padding:2px 6px;color:#6c7b88}
.huu-invoice-status-tabs button.selected{border-color:#ffbc8a;background:#fff0e3;color:#c15806}
.huu-invoice-status-tabs button.selected span{background:#ffe1c9;color:#a64c07}
.view[data-screen="invoices"] .invoice-table-wrap{width:100%;overflow-x:auto}
.view[data-screen="invoices"] .invoice-table{width:100%;min-width:690px}
.view[data-screen="invoices"] .invoice-table th{font-weight:800;letter-spacing:.015em;color:#65717b;padding:12px 10px;border-bottom:1px solid #e9edf0}
.view[data-screen="invoices"] .invoice-table td{padding:16px 10px;border-bottom:1px solid #eff0f1;vertical-align:middle}
.view[data-screen="invoices"] .invoice-table tr:last-child td{border-bottom:0}
.view[data-screen="invoices"] .invoice-row-actions{justify-content:flex-start}
.view[data-screen="invoices"] .invoice-empty{padding:38px 15px}
.view[data-screen="invoices"] .invoice-empty > span{display:none}
/* Dashboard: Recent invoices. Document number stays first, customer is the dominant second column. */
.view[data-screen="dashboard"] .huu-last-invoices-935 #recent-invoices{display:block!important}
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-invoice{
  display:grid!important;
  grid-template-columns:minmax(132px,150px) minmax(180px,1fr) minmax(100px,auto) minmax(116px,auto) 13px!important;
  align-items:center;column-gap:20px;row-gap:7px;
  width:100%;min-height:83px;padding:14px 11px;
  background:#fff!important;color:#1e2937!important;
  border:0;border-bottom:1px solid #e5e9ec;border-radius:0;
  text-align:left;box-shadow:none!important;
  opacity:1!important;filter:none!important;backdrop-filter:none!important;
  text-shadow:none!important;transform:none!important;
  transition:background-color .16s ease;
}
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-invoice:last-child{border-bottom:0}
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-invoice:hover{background:#f6f8fa!important;filter:none!important;transform:none!important}
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-invoice:focus-visible{outline:2px solid #ef7a23;outline-offset:-2px}
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-document,
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-customer{display:flex;flex-direction:column;gap:6px;min-width:0}
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-number{
  color:#4a5766!important;font-size:12px!important;font-weight:620!important;line-height:1.25;
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-document small{
  color:#647181!important;font-size:11px!important;font-weight:450;line-height:1.4;white-space:normal;
}
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-customer strong{
  color:#152232!important;font-size:17px!important;font-weight:720!important;
  line-height:1.35!important;letter-spacing:-.2px;overflow-wrap:anywhere;
}
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-customer small{
  color:#526173!important;font-size:12px!important;line-height:1.35;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-amount{
  color:#152232!important;font-size:15px!important;font-weight:720!important;
  white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right;
}
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-status{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;justify-self:end;
  border-radius:9px;padding:8px 11px;white-space:nowrap;
  font-size:11px!important;line-height:1.2!important;font-weight:740!important;
  border:1px solid transparent;
}
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-status::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-invoice--paid .huu-recent-status{background:#d0efde;color:#075f37;border-color:#a1d8bb}
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-invoice--overdue .huu-recent-status{background:#ffe0de;color:#a52525;border-color:#f3bab5}
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-invoice--awaiting .huu-recent-status{background:#ffedcf;color:#8c4a04;border-color:#efce94}
.view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-arrow{color:#db6d23;font-size:23px;line-height:1;text-align:center}
@media(max-width:1050px){
 .view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-invoice{
  grid-template-columns:minmax(95px,118px) minmax(150px,1fr) minmax(90px,auto) minmax(105px,auto) 10px!important;
  column-gap:11px;padding:13px 7px;
 }
 .view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-customer strong{font-size:16px!important}
 .view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-status{font-size:10px!important;padding:7px 8px}
}
@media(max-width:720px){
 .view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-invoice{
  grid-template-columns:minmax(92px,108px) minmax(0,1fr) 12px!important;
  column-gap:10px;row-gap:7px;min-height:96px;padding:12px 3px;
 }
 .view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-document{grid-column:1;grid-row:1}
 .view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-customer{grid-column:2;grid-row:1}
 .view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-amount{grid-column:2;grid-row:2;text-align:left;font-size:14px!important}
 .view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-status{grid-column:1;grid-row:2;justify-self:start;padding:6px 7px;font-size:10px!important;white-space:normal}
 .view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-arrow{grid-column:3;grid-row:1 / span 2}
 .view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-customer strong{font-size:16px!important}
 .view[data-screen="dashboard"] .huu-last-invoices-935 .huu-recent-document small{font-size:10px!important}
}
