  /* ---------- Invoice Generator ---------- */
  .inv-search-wrap{ position:relative; }
  .inv-results-list{
    position:absolute; width:100%; max-height:220px; overflow-y:auto; border:1px solid var(--amber);
    background:#fff; z-index:20; border-radius:6px; box-shadow:0 4px 14px rgba(46,36,28,0.1); margin-top:4px;
  }
  .inv-result-item{ padding:10px 14px; cursor:pointer; border-bottom:1px solid var(--rule); font-size:13px; }
  .inv-result-item:hover{ background:var(--amber-soft); }
  .inv-result-item:last-child{ border-bottom:none; }
  .inv-selected-customer{
    border:1px solid var(--amber); background:var(--amber-soft); border-radius:8px;
    padding:16px; margin-top:4px; font-size:13px; line-height:1.8;
  }
  .inv-service-list{
    max-height:320px; overflow-y:auto; border:1px solid var(--rule); border-radius:8px;
    padding:6px 10px; background:#fffdfa;
  }
  .inv-service-item{
    display:flex; align-items:center; padding:9px 4px; border-bottom:1px dotted var(--rule);
    cursor:pointer; font-size:13px;
  }
  .inv-service-item:last-child{ border-bottom:none; }
  .inv-service-item:hover{ background:var(--amber-soft); border-radius:4px; }
  .inv-service-item input[type="checkbox"]{ width:auto; margin-right:10px; transform:scale(1.15); accent-color:var(--amber); }
  .inv-service-price{ font-weight:600; color:var(--amber); margin-left:auto; padding-left:10px; font-family:var(--font-mono); font-size:12px; }
  .pkg-item-wrap{ border-bottom:1px dotted var(--rule); }
  .pkg-item-wrap:last-child{ border-bottom:none; }
  .pkg-expand-toggle{
    background:none; border:none; color:var(--ink-dim); font-family:var(--font-mono); font-size:10px;
    cursor:pointer; padding:0 4px; margin-left:6px;
  }
  .pkg-expand-toggle:hover{ color:var(--amber); }
  .pkg-tests-detail{
    font-size:12px; color:var(--ink-dim); padding:4px 4px 10px 30px; display:none; line-height:1.6;
  }
  .pkg-tests-detail.open{ display:block; }
  .pkg-mrp-strike{ text-decoration:line-through; color:var(--ink-dim); font-size:11px; margin-right:6px; }
  .inv-summary{ padding-top:6px; }
  .inv-summary-row{ display:flex; justify-content:space-between; padding:7px 0; border-top:1px solid var(--rule); font-size:14px; }
  .inv-summary-row.total{ font-size:18px; font-weight:700; border-top:2px solid var(--amber); margin-top:8px; padding-top:14px; color:var(--amber); }
  .inv-checkbox-row{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
  .inv-checkbox-row input{ width:auto; transform:scale(1.15); accent-color:var(--moss); }
  .inv-checkbox-row label{ margin-bottom:0; }
  .inv-toast{
    position:fixed; top:16px; right:16px; padding:14px 22px; border-radius:8px; font-weight:600;
    z-index:1000; color:#fff; font-family:var(--font-body); font-size:14px; transition:opacity .3s;
    box-shadow:0 6px 16px rgba(46,36,28,0.18);
  }
  #invInvoicePrintArea{ display:none; }



  @media print {
    body > *:not(#invInvoicePrintArea){ display:none !important; }
    body{ background:none; padding:0; margin:0; justify-content:flex-start; }
    #invInvoicePrintArea{ display:block !important; width:100%; margin:0; }
  }
