.hf-document-fields,.hf-payment-allocation{border:1px solid #dce5e2;border-radius:10px;padding:16px;min-width:0;display:grid;gap:14px}.hf-document-fields[hidden],.hf-payment-allocation[hidden]{display:none}.hf-document-fields legend,.hf-payment-allocation legend{font-weight:600;padding:0 6px}.hf-import-status:empty{display:none}.hf-import-status{padding:10px 12px;border-radius:8px;background:#f2f6ed;font-size:14px;white-space:pre-line}.hf-import-status.is-error{background:#fff1e3;color:#784306}.hf-import-status.is-busy{background:#eef4f7}.hf-payment-line{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:12px;border-bottom:1px solid #edf0ee;padding:8px 0}.hf-payment-line>label:first-child,.hf-payment-select-all{display:flex!important;gap:8px;align-items:flex-start}.hf-payment-line input[type=checkbox],.hf-payment-select-all input{width:18px;height:18px;flex:0 0 auto;margin-top:4px}.hf-payment-line small{display:block}.hf-payment-share{font-size:12px}.hf-payment-upload summary{cursor:pointer;font-weight:600;padding:8px 0}.hf-payment-upload[open]{display:grid;gap:12px}.hf-payment-allocation .hf-quiet{justify-self:start}@media(max-width:560px){.hf-payment-line{grid-template-columns:minmax(0,1fr)}.hf-payment-share{margin-left:26px}.hf-document-fields,.hf-payment-allocation{padding:12px}}
.hf-document-fields [hidden]{display:none!important}.hf-invoice-review{border:1px solid #dce5e2;border-top:3px solid #f4a32b;border-radius:8px;overflow:hidden;background:#fff}.hf-invoice-review-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;background:#fff8ec}.hf-invoice-review-heading h3{font-size:16px}.hf-invoice-parties{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:16px;border-bottom:1px solid #e5ebea}.hf-invoice-parties>div{min-width:0;display:grid;gap:4px;overflow-wrap:anywhere}.hf-invoice-parties span,.hf-invoice-parties small{font-size:13px;color:#657576}.hf-invoice-parties strong{font-size:14px}.hf-invoice-facts{display:flex;flex-wrap:wrap;gap:12px 24px;margin:0;padding:12px 16px;border-bottom:1px solid #e5ebea}.hf-invoice-facts>div{min-width:0}.hf-invoice-facts dt{font-size:12px;color:#657576}.hf-invoice-facts dd{margin:2px 0 0;font-size:14px;font-weight:600;overflow-wrap:anywhere}.hf-invoice-description{padding:14px 16px}.hf-invoice-description h4{margin:0 0 8px;font-size:14px}.hf-invoice-description [data-review-description],.hf-invoice-line p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.hf-invoice-line+.hf-invoice-line{border-top:1px solid #e5ebea;padding-top:10px;margin-top:10px}.hf-invoice-line small{display:block;margin-top:6px;color:#657576;font-size:12px}.hf-invoice-totals{display:grid;gap:8px;margin:0;padding:14px 16px;background:#f3f7ee;border-top:1px solid #dce5e2}.hf-invoice-totals>div{display:flex;justify-content:space-between;gap:12px;font-size:14px}.hf-invoice-totals dd{font-weight:600;margin:0;white-space:nowrap}.hf-invoice-totals>div:last-child{font-size:17px;font-weight:700;border-top:1px solid #dce5e2;padding-top:8px}.hf-invoice-corrections summary{cursor:pointer;font-weight:600;font-size:14px;color:#486e21;padding:6px 0}.hf-invoice-corrections[open]{display:grid;gap:14px}.hf-invoice-corrections>div,.hf-invoice-corrections>label{margin-top:12px}.hf-invoice-confirm{display:flex!important;align-items:flex-start;gap:10px;padding:12px;border:1px solid #d2ddc4;background:#f3f7ee;border-radius:8px;font-size:14px}.hf-invoice-confirm input{width:18px!important;height:18px;flex:0 0 auto;margin-top:3px}.hf-invoice-confirm span{line-height:1.55}@media(max-width:560px){.hf-invoice-parties{grid-template-columns:1fr;gap:12px}.hf-invoice-review-heading{align-items:flex-start;flex-direction:column}.hf-invoice-totals>div:last-child{font-size:16px}.hf-invoice-review-heading,.hf-invoice-parties,.hf-invoice-facts,.hf-invoice-description,.hf-invoice-totals{padding-left:12px;padding-right:12px}}

.hf-payment-calculator{border:1px solid #dce5e2;border-top:3px solid #f4a32b;border-radius:10px;background:#fffaf1;display:grid;gap:14px;padding:16px;min-width:0}.hf-payment-document-value{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:1px solid #eadfcf}.hf-payment-document-value span{font-size:14px;color:#52696b}.hf-payment-document-value output{font-size:25px;font-weight:700;white-space:nowrap;color:#294344}.hf-payment-calculator [hidden]{display:none!important}.hf-payment-calculator [data-payment-calculation-status]{margin:0}.hf-payment-calculator .is-error{color:#9b3e0d}@media(max-width:560px){.hf-payment-calculator{padding:12px}.hf-payment-document-value{align-items:flex-start;flex-direction:column;gap:4px}.hf-payment-document-value output{font-size:23px}}
