.fc-payment-detail {width:min(720px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:0;border-radius:12px;padding:24px;overflow-wrap:anywhere}
.fc-payment-detail::backdrop {background:rgba(0,0,0,.4)}
.payment-summary {overflow-wrap:anywhere}
.fc-payment-detail button {min-height:42px}

.fc-payment-detail li {margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #d9e2ea}
.fc-payment-actions {display:flex;gap:12px;flex-wrap:wrap}

.fc-payment-term-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px;align-items:end}.fc-payment-term-filters input,.fc-payment-term-filters select{box-sizing:border-box;width:100%;min-height:44px}.fc-payment-term-filters button{min-height:44px}.fc-payment-detail [data-payment-terms]{min-width:0;overflow-wrap:anywhere}
.fc-payment-detail [data-payment-terms] button{min-height:44px}
.fc-payment-detail [data-payment-terms] .table-scroll{max-width:100%;overflow:auto}.fc-payment-detail [data-payment-terms] table{min-width:760px;overflow-wrap:normal}.fc-payment-detail [data-payment-terms] th,.fc-payment-detail [data-payment-terms] td{word-break:normal;overflow-wrap:normal}.fc-payment-detail [data-payment-terms] td{white-space:nowrap}
