/* 对接端和授权查看页面共用，不改变原有资金/结算权限。 */
.recharge-pricing-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.recharge-pricing-toolbar-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.recharge-pricing-toolbar-actions .btn { padding: 4px 7px; font-size: 11px; white-space: nowrap; }
.recharge-pricing-modal { z-index: 145; }
.recharge-pricing-box { width: min(700px, 94vw); max-height: 92vh; overflow: auto; }
.recharge-pricing-details-box { width: min(1000px, 96vw); max-height: 92vh; overflow: auto; }
.recharge-pricing-fields { display: grid; gap: 8px; margin: 14px 0; }
.recharge-pricing-input-row { display: grid; grid-template-columns: 108px minmax(100px, 170px) minmax(120px, 1fr); gap: 10px; align-items: center; }
.recharge-pricing-input-row label { margin: 0; font-weight: 600; }
.recharge-pricing-input-row input { min-width: 0; width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--border, #ddd); border-radius: 6px; }
.recharge-pricing-input-row input:disabled { opacity: 1; background: #f3f4f6; color: #4b5563; }
.recharge-pricing-effective { color: var(--text-muted, #6b7280); font-size: 12px; overflow-wrap: anywhere; }
.recharge-pricing-account-picker { display: flex; gap: 8px; align-items: center; margin: 10px 0; }
.recharge-pricing-account-picker input, .recharge-pricing-account-picker select { flex: 1; min-width: 0; width: auto; padding: 8px 10px; border: 1px solid var(--border, #ddd); border-radius: 6px; }
.recharge-pricing-customer-label { font-weight: 600; min-height: 20px; }
.recharge-pricing-status { min-height: 20px; overflow-wrap: anywhere; }
.recharge-pricing-warning { color: #b45309 !important; }
.recharge-pricing-modal .modal-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.recharge-pricing-allocations { max-height: 56vh; overflow: auto; }
.recharge-pricing-allocations table { width: 100%; table-layout: fixed; }
.recharge-pricing-allocations th, .recharge-pricing-allocations td { padding: 8px; white-space: normal; overflow-wrap: anywhere; }
.recharge-pricing-allocations th:first-child { width: 30%; }
.recharge-pricing-detail { margin-left: 4px; padding: 1px 4px; color: var(--primary, #7c3aed); background: transparent; border: 1px solid currentColor; border-radius: 4px; font: inherit; font-size: 10px; cursor: pointer; }
.recharge-locked-amount small, .recharge-locked-unit small { display: block; font-size: 10px; line-height: 1.2; }
#rechargeLedgerTable .recharge-locked-unit { width: 76px; }
#rechargeLedgerTable .recharge-locked-amount { width: 102px; }
@media (max-width: 600px) {
  .recharge-pricing-input-row { grid-template-columns: 86px minmax(0, 1fr); gap: 6px; }
  .recharge-pricing-effective { grid-column: 2; }
}
