/* Stage 33 scoped billing presentation; preserve other ERP screens. */
.hp31-billing .hp33-bill-table-wrap,.hp33-bill-table-wrap{overflow-x:auto;border:1px solid #d6e9f1;border-radius:10px;margin-top:16px}
.hp33-bill-table{width:100%;border-collapse:collapse;min-width:640px;background:#fff}
.hp33-bill-table th{background:#e3f5f9!important;color:#123b55!important;font-weight:800;padding:12px 10px;text-align:left}
.hp33-bill-table td{padding:10px;border-bottom:1px solid #e5eff5;vertical-align:middle}
.hp33-bill-table tbody tr:hover{background:#f3fbfe}
.hp33-bill-table select,.hp33-bill-table input{margin:0!important;width:100%;min-width:0;box-sizing:border-box;border:1px solid #c7deeb;border-radius:7px;background:#fff;padding:9px 10px;color:#12324a}
.hp33-bill-table td:nth-child(1){width:34px;font-weight:800;color:#183b55}.hp33-bill-table td:nth-child(2){min-width:245px}.hp33-bill-table td:nth-child(3){width:100px}.hp33-bill-table td:nth-child(4),.hp33-bill-table td:nth-child(5){white-space:nowrap;font-weight:700;color:#173c52}.hp33-bill-table td:last-child{width:65px}
.hp33-remove{background:#fee8ea!important;color:#c41c32!important;border:1px solid #ffd1d5!important;border-radius:7px;padding:8px 12px;cursor:pointer;font-weight:800}
.hp33-bill-bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:15px 0;flex-wrap:wrap}
.hp33-add{background:#008e7e!important;color:white!important;border:0;border-radius:8px;padding:11px 18px;font-weight:800;cursor:pointer}
.hp33-totals{min-width:240px;max-width:350px;width:100%;border:1px solid #d9e8ee;border-radius:9px;overflow:hidden;background:#fff}
.hp33-totals>div{display:flex;justify-content:space-between;gap:20px;padding:9px 14px;border-bottom:1px solid #e9eff2}.hp33-totals>div:last-child{border-bottom:0}.hp33-totals .hp33-net{background:#ddf9e8;font-weight:800;color:#085d3c}
.hp33-form-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hp33-reset{background:white!important;color:#173b55!important;border:1px solid #cbdce7!important;border-radius:8px;padding:11px 17px;font-weight:700}
.hp33-history-tools{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:12px 0 16px}.hp33-history-tools label{font-size:12px;font-weight:800;color:#123b55;display:flex;flex-direction:column;gap:5px;flex:1;min-width:180px}.hp33-history-tools input,.hp33-history-tools select{background:#fff;border:1px solid #c8deeb;border-radius:8px;padding:10px 12px;max-width:100%;width:100%;box-sizing:border-box}
.hp32-table tbody tr[hidden]{display:none!important}.hp32-history{box-shadow:0 5px 18px rgba(10,53,82,.07);border:1px solid #dbeaf2;border-radius:12px}
@media(max-width:720px){.hp33-bill-bottom{flex-direction:column}.hp33-totals{max-width:none}.hp33-history-tools{flex-direction:column;align-items:stretch}.hp33-history-tools label{width:100%}}
