.vendor-records.svelte-1em27h1{display:flex;flex-direction:column;height:100vh;background:#f9fafb;overflow:hidden}.header-section.svelte-1em27h1{flex-shrink:0;padding:1.5rem;background:#f9fafb}.table-section.svelte-1em27h1{flex:0 1 auto;max-height:calc(100vh - 320px);overflow:auto;background:#fff;border:1px solid #e5e7eb;border-bottom:none;margin:0 1.5rem}.loading.svelte-1em27h1{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:3rem;gap:1rem}.table-loading.svelte-1em27h1{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:3rem;gap:1rem;background:#fff}.spinner.svelte-1em27h1{width:40px;height:40px;border:4px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:svelte-1em27h1-spin .8s linear infinite}@keyframes svelte-1em27h1-spin{to{transform:rotate(360deg)}}.header-card.svelte-1em27h1{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1.5rem;margin-bottom:1.5rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 3px #0000001a}.header-info.svelte-1em27h1 h2:where(.svelte-1em27h1){margin:0 0 .5rem;font-size:1.5rem;font-weight:600;color:#111827}.record-count.svelte-1em27h1{margin:0;color:#6b7280;font-size:.875rem}.record-count.svelte-1em27h1 strong:where(.svelte-1em27h1){color:#3b82f6;font-weight:600}.refresh-btn.svelte-1em27h1{padding:.625rem 1.25rem;background:#3b82f6;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:background .2s;min-width:120px}.refresh-btn.svelte-1em27h1:hover:not(:disabled){background:#2563eb}.refresh-btn.svelte-1em27h1:disabled{background:#93c5fd;cursor:not-allowed}.filters-card.svelte-1em27h1{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1.5rem;margin-bottom:1rem;box-shadow:0 1px 3px #0000001a}.filters-row.svelte-1em27h1{display:flex;gap:1.5rem;align-items:flex-end;flex-wrap:wrap}.filter-group.svelte-1em27h1{flex:1;min-width:200px;display:flex;flex-direction:column;gap:.5rem}.filter-group.svelte-1em27h1 label:where(.svelte-1em27h1){font-size:.875rem;font-weight:500;color:#374151}.search-input.svelte-1em27h1,.filter-select.svelte-1em27h1{padding:.625rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;background:#fff;transition:border-color .2s}.search-input.svelte-1em27h1:focus,.filter-select.svelte-1em27h1:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.search-input.svelte-1em27h1:disabled,.filter-select.svelte-1em27h1:disabled{background:#f3f4f6;cursor:not-allowed}.filter-select.svelte-1em27h1{cursor:pointer}.search-type-radios.svelte-1em27h1{display:flex;gap:1rem;margin-top:.5rem;flex-wrap:wrap}.radio-label.svelte-1em27h1{display:flex;align-items:center;gap:.5rem;font-size:.875rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.radio-label.svelte-1em27h1 input[type=radio]:where(.svelte-1em27h1){cursor:pointer;accent-color:#3b82f6}.radio-label.svelte-1em27h1 input[type=radio]:where(.svelte-1em27h1):disabled{cursor:not-allowed;opacity:.6}.reset-btn.svelte-1em27h1{padding:.625rem 1rem;background:#ef4444;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:background .2s;align-self:flex-end}.reset-btn.svelte-1em27h1:hover:not(:disabled){background:#dc2626}.reset-btn.svelte-1em27h1:disabled{background:#fca5a5;cursor:not-allowed}.load-btn.svelte-1em27h1{padding:.625rem 1.5rem;background:#3b82f6;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:background .2s;white-space:nowrap}.load-btn.svelte-1em27h1:hover:not(:disabled){background:#2563eb}.load-btn.svelte-1em27h1:disabled{background:#93c5fd;cursor:not-allowed}.table-info.svelte-1em27h1{background:#fff;border:1px solid #e5e7eb;border-radius:8px 8px 0 0;padding:.75rem 1rem;font-size:.875rem;color:#6b7280;font-weight:500;margin:0 1.5rem}.records-table.svelte-1em27h1{width:100%;border-collapse:collapse;min-width:1200px}.records-table.svelte-1em27h1 thead:where(.svelte-1em27h1){background:#f9fafb;position:sticky;top:0;z-index:10}.records-table.svelte-1em27h1 th:where(.svelte-1em27h1){padding:1rem;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;font-size:.875rem;text-transform:uppercase;letter-spacing:.025em;white-space:nowrap}.records-table.svelte-1em27h1 td:where(.svelte-1em27h1){padding:1rem;border-bottom:1px solid #e5e7eb;color:#111827;font-size:.875rem}.records-table.svelte-1em27h1 tbody:where(.svelte-1em27h1) tr:where(.svelte-1em27h1):hover{background:#f9fafb}.thumbnail-cell.svelte-1em27h1{width:80px}.thumbnail.svelte-1em27h1{position:relative;width:60px;height:60px;cursor:pointer;border-radius:4px;overflow:hidden;border:1px solid #e5e7eb}.thumbnail.svelte-1em27h1 img:where(.svelte-1em27h1){width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.thumbnail.svelte-1em27h1 .overlay:where(.svelte-1em27h1){position:absolute;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s;font-size:1.5rem}.thumbnail.svelte-1em27h1:hover .overlay:where(.svelte-1em27h1){opacity:1}.pdf-icon.svelte-1em27h1{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;background:#fee2e2;color:#dc2626}.pdf-icon.svelte-1em27h1 span:where(.svelte-1em27h1){font-size:1.5rem}.pdf-icon.svelte-1em27h1 small:where(.svelte-1em27h1){font-size:.625rem;font-weight:600}.no-document.svelte-1em27h1{display:flex;flex-direction:column;align-items:center;justify-content:center;width:60px;height:60px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:4px;color:#9ca3af}.no-document.svelte-1em27h1 span:where(.svelte-1em27h1){font-size:1.25rem}.no-document.svelte-1em27h1 small:where(.svelte-1em27h1){font-size:.625rem}.bill-info.svelte-1em27h1,.vendor-info.svelte-1em27h1,.bank-info.svelte-1em27h1,.payment-info.svelte-1em27h1{display:flex;flex-direction:column;gap:.25rem}.bill-info.svelte-1em27h1 strong:where(.svelte-1em27h1),.vendor-info.svelte-1em27h1 strong:where(.svelte-1em27h1),.bank-info.svelte-1em27h1 strong:where(.svelte-1em27h1),.payment-info.svelte-1em27h1 strong:where(.svelte-1em27h1){color:#111827;font-weight:600}.bill-info.svelte-1em27h1 small:where(.svelte-1em27h1),.vendor-info.svelte-1em27h1 small:where(.svelte-1em27h1),.bank-info.svelte-1em27h1 small:where(.svelte-1em27h1),.payment-info.svelte-1em27h1 small:where(.svelte-1em27h1){color:#6b7280;font-size:.75rem}.amount-cell.svelte-1em27h1{font-weight:600;color:#059669;text-align:right}.erp-ref.svelte-1em27h1{font-family:monospace;color:#6b7280}.no-data.svelte-1em27h1{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#6b7280;margin:0 1.5rem 1.5rem}.no-data-icon.svelte-1em27h1{font-size:3rem;margin-bottom:1rem;opacity:.5}.no-data.svelte-1em27h1 p:where(.svelte-1em27h1){margin:0;font-size:1rem}.pagination.svelte-1em27h1{flex-shrink:0;display:flex;justify-content:center;align-items:center;gap:1rem;padding:1.5rem;background:#fff;border:1px solid #e5e7eb;border-top:none;margin:0 1.5rem 1.5rem;border-radius:0 0 8px 8px}.pagination-btn.svelte-1em27h1{padding:.5rem 1rem;background:#3b82f6;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:background .2s}.pagination-btn.svelte-1em27h1:hover:not(:disabled){background:#2563eb}.pagination-btn.svelte-1em27h1:disabled{background:#d1d5db;cursor:not-allowed;opacity:.5}.pagination-info.svelte-1em27h1{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#374151}.page-input.svelte-1em27h1{width:60px;padding:.375rem .5rem;border:1px solid #d1d5db;border-radius:4px;text-align:center;font-size:.875rem}.page-input.svelte-1em27h1:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.page-input.svelte-1em27h1:disabled{background:#f3f4f6;cursor:not-allowed}.page-input.svelte-1em27h1::-webkit-inner-spin-button,.page-input.svelte-1em27h1::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.page-input.svelte-1em27h1{-moz-appearance:textfield}
