.finance-navigation.tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:0;padding:12px;background:#fff;border:1px solid var(--line,#e2e8f0);border-radius:10px}
.finance-navigation button{font-size:14px;min-height:42px;padding:8px 18px;margin:0;white-space:normal;line-height:1.4;font-weight:600}.finance-navigation button.active{background:var(--accent,#6654bc);color:#fff;border-color:var(--accent,#6654bc)}
.finance-subnav{display:flex;flex-wrap:wrap;gap:8px;padding:12px 2px;border-bottom:1px solid var(--line,#e2e8f0);margin-bottom:18px}.finance-subnav button{margin:0;min-height:38px}.finance-subnav button.active{background:#eeebff;color:#59479e;border-color:#cfc5f2}.finance-subnav button[data-finance-go]{margin-left:auto;color:#62519b}
.finance-location{margin:18px 0 14px}.finance-location h2{font-size:20px;margin:0 0 5px}.finance-location p{margin:0;color:#64748b;font-size:13px;line-height:1.6}
.finance-section-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid var(--line,#e2e8f0)}.finance-section-tabs button{min-height:38px;margin:0;font-weight:600}.finance-section-tabs button.active{background:#eeebff;color:#59479e;border-color:#cfc5f2}.finance-pane[hidden]{display:none!important}.finance-pane>.compact-settings:first-child{margin-top:0}.finance-pane>h3:first-child{margin-top:0}.finance-record-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.finance-inline-help{line-height:1.7;color:#64748b;margin:0 0 16px;font-size:13px}
.finance-rate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.finance-rate-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:#f8f9fc;border:1px solid var(--line,#e2e8f0);border-radius:8px;min-width:0}.finance-rate-item small,.finance-rate-item strong,.finance-rate-item span{display:block}.finance-rate-item strong{font-size:19px;margin:6px 0;color:#252d3d;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.finance-rate-item span{font-size:12px;color:#64748b;line-height:1.5}.finance-rate-item button{flex:none;margin:0}
.finance-pricing-table table{min-width:0;width:100%;font-size:13px}.finance-pricing-table th,.finance-pricing-table td{padding:12px 14px;vertical-align:middle}.finance-pricing-table th{font-size:13px}.finance-pricing-table tbody th{position:static;white-space:normal;font-weight:500;background:#fff}.finance-pricing-table td{white-space:normal}.finance-pricing-table td span{display:inline-block;min-width:80px;margin-right:12px;font-variant-numeric:tabular-nums;line-height:1.6;overflow-wrap:anywhere}.finance-pricing-table td button{padding:5px 10px;margin:0;min-height:32px;font-size:12px}.finance-other-fees{margin-top:14px;font-size:12px}.finance-other-fees summary{cursor:pointer;line-height:1.6}.finance-other-fees p{line-height:1.7}.withdrawal-quick-filters{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.withdrawal-quick-filters button{margin:0}.withdrawal-quick-filters button.active{background:#eeebff;color:#59479e;border-color:#cfc5f2}
@media(max-width:700px){.finance-navigation.tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.finance-navigation button{padding:9px;font-size:13px;width:100%}.finance-subnav{gap:7px}.finance-subnav button{font-size:12px;min-height:38px;padding:8px 10px}.finance-subnav button[data-finance-go]{margin-left:0}.finance-rate-grid{grid-template-columns:minmax(0,1fr)}.finance-rate-item{padding:12px}.finance-rate-item strong{font-size:17px}.finance-location h2{font-size:18px}.finance-pricing-table th,.finance-pricing-table td{padding:10px 8px;font-size:12px}.finance-pricing-table td span{display:block;min-width:0;margin:0 0 5px}.finance-pricing-table td button{display:block}.finance-pricing-table thead th:first-child{width:21%}.finance-section-tabs button{font-size:12px;padding:8px 10px}}

/* Finance record controls stay available at either end of a list. */
.finance-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:16px 0;padding:10px 0;border-block:1px solid var(--line);font-size:12px;color:#64748b}
.finance-pager>div{display:flex;gap:8px}.finance-pager button{margin:0;min-height:40px}.finance-pager>span{font-variant-numeric:tabular-nums}
.withdrawal-applied-filters{font-size:12px;line-height:1.7;color:#52617a;margin:8px 0;overflow-wrap:anywhere}.withdrawal-more-filters{margin-top:8px;padding-top:0;border-top:0}.withdrawal-more-filters .withdrawal-filter-grid{margin-bottom:10px}
.recharge-tabs{gap:10px;margin-bottom:16px}.recharge-tabs>button{min-width:100px;text-align:left;font-weight:600;min-height:52px}.recharge-tabs>button small{display:block;font-size:11px;font-weight:400;opacity:.8;margin-top:4px}
.provider-control-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:16px;border:1px solid var(--line);border-radius:9px;background:#f8fafc;margin-bottom:14px}.provider-control-bar>div{min-width:0}.provider-control-bar small{display:block;margin-top:6px;font-size:12px;line-height:1.7;color:#64748b}.provider-control-bar .provider-toggle{min-height:44px;padding:8px 12px;border:1px solid #c9d1e3;border-radius:8px;background:#fff;flex-shrink:0;gap:10px}
#payment-health-form{align-items:end}#payment-health-form>.scan-advanced-settings{order:3;flex-basis:100%;margin:4px 0 0;padding-top:0;border-top:0}.scan-advanced-settings .form-grid{max-width:620px;margin-top:16px}.scan-advanced-settings input{width:100%}
.recharge-channel-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:16px 0 10px}
.recharge-channel-heading h3{margin:0}
.recharge-channel-status{display:flex;flex-wrap:wrap;gap:8px;color:#52617a;font-size:12px}
.recharge-channel-status span,.payout-setting-state{padding:4px 8px;border-radius:6px;background:#f0edf8;color:#594883}
.recharge-channel-connection,.payout-connection{margin:12px 0;overflow-wrap:anywhere}
#recharge-channel-body .compact-channel-table table{min-width:0;width:100%}
#recharge-channel-body .compact-channel-table th{white-space:normal}
#recharge-channel-body .compact-channel-table :is(th,td):first-child{width:21%;min-width:0}
#recharge-channel-body .compact-channel-table th:nth-child(2){width:19%}
#recharge-channel-body .compact-channel-table th:nth-child(3){width:15%}
#recharge-channel-body .compact-channel-table th:nth-child(4){width:24%}
#recharge-channel-body .compact-channel-table :is(th,td):last-child{width:21%;min-width:0}
#recharge-channel-body .compact-channel-table [data-channel-health]{min-width:0}
#recharge-channel-body .compact-channel-table [data-range]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
#recharge-channel-body .compact-channel-table [data-range] input:not([type=checkbox]){width:100%}
.recharge-amount-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.recharge-amount-pair label{font-size:12px}
.payout-setting{padding:0;margin-bottom:12px;border-bottom:0}
.payout-setting>summary span:first-child{flex:1}
.payout-setting-state{background:white;font-size:12px;text-align:center}
.payout-setting .form-grid{margin:12px 0}
.payout-setting .payout-switch{width:fit-content;font-weight:650;color:#2e3654;min-height:34px}
#auto-payout-summary{margin:10px 0 15px;color:#52617a}
.auto-method-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}
.auto-method-overview>div{border:1px solid var(--line);border-radius:8px;padding:12px;min-width:0}
.auto-method-overview strong{display:block;margin-top:6px;font-size:12px;overflow-wrap:anywhere}
@media(max-width:1100px){
 #recharge-channel-body .compact-channel-table :is(table,tbody,tr,td){display:block}
 #recharge-channel-body .compact-channel-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #recharge-channel-body .compact-channel-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;margin-bottom:10px}
 #recharge-channel-body .compact-channel-table td{width:auto;min-width:0;max-width:none;white-space:normal;border:0;padding:0}
 #recharge-channel-body .compact-channel-table td:first-child{grid-column:1/-1;width:auto}
 #recharge-channel-body .compact-channel-table td:last-child{width:auto}
 #recharge-channel-body .compact-channel-table td+td::before{display:block;margin-bottom:4px;font-size:12px;font-weight:600;color:#52617a}
 #recharge-channel-body .compact-channel-table td:nth-child(2)::before{content:'游戏显示名称'}
 #recharge-channel-body .compact-channel-table td:nth-child(3)::before{content:'支付方式'}
 #recharge-channel-body .compact-channel-table td:nth-child(4)::before{content:'充值金额规则'}
 #recharge-channel-body .compact-channel-table td:nth-child(5)::before{content:'使用 / 检测'}
}
@media(max-width:500px){
 #recharge-channel-body .compact-channel-table tr{grid-template-columns:minmax(0,1fr)}
 .payout-setting>summary{flex-wrap:wrap}
 .payout-setting-state{padding:3px 6px}
}
.finance-exception-categories{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.finance-exception-categories span{padding:7px 10px;background:#f5f7fa;border:1px solid var(--line);border-radius:6px;font-size:12px;color:#64748b}
#finance-exceptions [hidden]{display:none!important}#finance-exceptions .mainnet-review-form{overflow-wrap:anywhere}#finance-exceptions .mainnet-review-form input{max-width:100%;min-width:0}#finance-exceptions .mainnet-review-form small{display:block;overflow-wrap:anywhere}
@media(max-width:700px){
 .finance-pager{gap:10px}.finance-pager>div{margin-left:auto}.finance-pager button{padding:8px 12px}.recharge-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.recharge-tabs>button{min-width:0;text-align:center}.provider-control-bar{padding:12px;gap:10px}.provider-control-bar strong{font-size:13px}
 .auto-method-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
 /* Retain one table/one set of controls, displayed as labelled order cards. */
 .withdrawal-records>.table-wrap{overflow:visible}.withdrawal-records table,.withdrawal-records tbody{display:block;width:100%;min-width:0;white-space:normal}.withdrawal-records thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .withdrawal-records tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #dbe2ee;border-radius:9px;margin:12px 0;padding:12px;gap:12px;background:#fff;min-width:0}.withdrawal-records tbody td{display:block;border:0;padding:0;min-width:0;max-width:none;font-size:12px;line-height:1.6;overflow-wrap:anywhere;white-space:normal}.withdrawal-records tbody td[data-label]::before{content:attr(data-label);display:block;color:#6b7890;font-size:11px;font-weight:500;margin-bottom:5px}
 .withdrawal-records tbody td:nth-child(1),.withdrawal-records tbody td:nth-child(3),.withdrawal-records tbody td:nth-child(5),.withdrawal-records tbody td:nth-child(6),.withdrawal-records tbody td.empty{grid-column:1/-1}.withdrawal-records tbody td:nth-child(3){padding:10px;background:#f5f7fc;border-radius:7px}.withdrawal-amount strong{display:block;color:#324891;font-size:17px;line-height:1.6;margin:7px 0}.withdrawal-records tbody td.withdrawal-order-actions{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);padding-top:10px}.withdrawal-order-actions::before{flex-basis:100%}.withdrawal-records td:last-child button{display:inline-block;min-height:42px;min-width:90px;margin:0;flex:1;padding:9px 10px;white-space:normal;font-size:12px}.withdrawal-recipient button{min-height:40px;max-width:100%;white-space:normal}
}
.provider-control-bar .provider-toggle{position:relative;display:inline-flex;flex-direction:row;align-items:center;cursor:pointer;font-size:12px;white-space:nowrap;margin:0}
.provider-control-bar .provider-toggle input{position:absolute;width:100%;height:100%;opacity:0;inset:0;margin:0;cursor:pointer}
#withdrawal-provider-body>details.compact-settings{padding:0;border:0;margin:12px 0}#withdrawal-provider-body>details.compact-settings>form,#withdrawal-provider-body>details.compact-settings>div{padding:6px 2px 14px}#withdrawal-provider-body>details.compact-settings>summary{margin:0}
@media(max-width:700px){.withdrawal-records tbody td:nth-child(2){order:1}.withdrawal-records tbody td:nth-child(4){order:2}.withdrawal-records tbody td:nth-child(3){order:3}.withdrawal-records tbody td:nth-child(5){order:4}.withdrawal-records tbody td:nth-child(6){order:5}.withdrawal-records td small:empty{display:none}}
