#sales-invoice-history{padding:24px;margin:20px 0;background:#fff;border:1px solid #dce6eb;border-radius:16px;min-width:0}
.sih-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.sih-heading h2{margin:5px 0}.sih-heading p{color:#607087;margin:5px 0 20px}
.sih-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.sih-filters label{display:grid;gap:6px;flex:1 1 145px;font-size:12px}.sih-filters label:first-child{flex:2 1 210px}.sih-feedback{min-height:20px;color:#496079;font-size:13px}
.sih-table-scroll{overflow-x:auto;max-width:100%}.sih-table-scroll table{width:100%;border-collapse:collapse;min-width:720px}.sih-table-scroll thead,.sih-table-scroll th{position:static!important}.sih-table-scroll th{background:#f4f7fa;font-size:12px;text-align:left}.sih-table-scroll td,.sih-table-scroll th{padding:12px;border-bottom:1px solid #e4eaf0}.sih-table-scroll td{font-size:13px}.sih-table-scroll small{display:block;color:#62758b;margin-top:5px}.sih-actions{display:flex;gap:7px}.sih-pagination{display:flex;justify-content:flex-end;align-items:center;gap:15px;margin-top:18px}
#sih-modal{z-index:16000;padding:18px}.sih-modal-card{width:min(1080px,100%);max-height:calc(100dvh - 36px);display:flex;flex-direction:column;overflow:hidden}.sih-modal-body{overflow:auto;padding:20px;min-height:0}.sih-modal-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:14px;border-top:1px solid #e3eaf0;background:#fff;flex-shrink:0}
#sih-modal .sih-modal-card{width:min(1080px,100%);max-width:1080px}
.sih-paper{padding:30px;background:#fff;border:1px solid #dde5ec;border-top:4px solid #0f7670;border-radius:4px}.sih-paper header,.sih-parties{display:flex;justify-content:space-between;gap:30px;margin-bottom:22px}.sih-parties section{width:48%;overflow-wrap:anywhere}.sih-paper h3{font-size:12px;text-transform:uppercase;color:#64758a}.sih-stamp{font-size:12px;font-weight:750;letter-spacing:.06em;color:#0b706b}.sih-paper p{overflow-wrap:anywhere}.sih-paper .sih-table-scroll td:first-child{min-width:200px;max-width:360px;overflow-wrap:anywhere}.sih-totals{margin:20px 0 20px auto;max-width:340px;background:#f0f7f6;padding:14px}.sih-totals div{display:flex;justify-content:space-between;gap:20px;padding:8px}.sih-totals dd{margin:0;font-weight:bold}.sih-warning{padding:12px;background:#fff7e5;border-radius:8px}.sih-notes{white-space:pre-wrap}.sih-print-frame{position:fixed;width:1px;height:1px;left:-10000px;top:0;border:0}
@media(max-width:600px){#sales-invoice-history{padding:16px}.sih-heading{align-items:start}.sih-heading h2{font-size:20px}.sih-filters label{flex:1 1 125px}.sih-modal-body{padding:10px}.sih-paper{padding:16px}.sih-paper header,.sih-parties{display:block}.sih-parties section{width:100%}.sih-modal-actions .btn{flex:1 1 auto;font-size:12px}#sih-modal{padding:8px}.sih-modal-card{max-height:calc(100dvh - 16px)}}
