/* Keep payment controls independent of the generic text-input and label styles. */
.billing-layout{grid-template-columns:260px minmax(0,1fr);max-width:1280px}
.billing-layout>div,.billing-layout .panel-body,#recharge{min-width:0}
#recharge [hidden]{display:none!important}
#recharge .payment-channels{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;margin:0 0 24px;min-width:0}
#recharge .payment-channels legend{padding:0;margin-bottom:12px;font-weight:500;color:var(--text)}
#recharge .payment-channel{position:relative;display:flex;align-items:center;gap:10px;min-width:0;margin:0;padding:18px 14px;border:1px solid var(--line);border-radius:6px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s}
#recharge .payment-channel:hover{border-color:#9db9eb;background:#fafcff}
#recharge .payment-channel:has(input:checked){border-color:var(--blue);background:#f5f8ff;box-shadow:0 0 0 1px var(--blue)}
#recharge .payment-channel:has(input:focus-visible){outline:2px solid var(--blue);outline-offset:4px}
#recharge .payment-channel input[type=radio]{appearance:auto;display:block;flex:0 0 16px;width:16px;height:16px;min-width:16px;min-height:16px;max-height:16px;padding:0;margin:0;border:0;border-radius:50%;background:transparent;accent-color:var(--blue);box-shadow:none;outline:none;cursor:pointer}
#recharge .channel-mark{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;background:transparent;border-radius:6px}
#recharge .channel-mark img{display:block;width:32px;height:32px;object-fit:contain;border-radius:5px}
#recharge .channel-mark.transfer{background:#eef2f8;color:#536d95}
#recharge .channel-mark svg{width:24px;height:24px}
#recharge .channel-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
#recharge .channel-copy b{font-size:14px;font-weight:500;line-height:1.4;white-space:nowrap}
#recharge .channel-copy small{font-size:11px;color:var(--muted);line-height:1.5}
#recharge .amount-options{margin-bottom:28px}
#recharge .payment-error:empty{display:none}
.bank-transfer{border:1px solid #e1e8f2;background:#fafbfd;border-radius:7px;padding:22px;min-width:0}
.bank-transfer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bank-transfer-heading h3{margin:0;font-size:16px;font-weight:600}
.bank-transfer-heading>span{flex-shrink:0;padding:3px 8px;border-radius:4px;background:#edf2fb;color:#5f7494;font-size:12px}
.bank-intro,.bank-transfer-notice{font-size:13px;line-height:1.8;color:#64748b;margin:12px 0 0}
.bank-transfer-details{padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:5px;margin:18px 0}
.bank-transfer-details h4{font-size:13px;font-weight:500;color:#586980;margin:0 0 10px}
.bank-transfer-details p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:14px;margin:0}
.bank-transfer-steps{list-style:none;counter-reset:bank-step;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:0;margin:24px 0}
.bank-transfer-steps li{counter-increment:bank-step;min-width:0;position:relative;padding-left:30px}
.bank-transfer-steps li:before{content:counter(bank-step);position:absolute;left:0;top:0;width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#eaf0fb;color:#416fb5;font-size:12px}
.bank-transfer-steps b{display:block;font-size:13px;font-weight:500;margin-bottom:7px;line-height:21px}
.bank-transfer-steps span{display:block;color:var(--muted);font-size:12px;line-height:1.7}
.bank-transfer-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bank-transfer>.coverage-note{margin:14px 0 0}
@media(max-width:1200px){.billing-layout{grid-template-columns:1fr}.balance-summary>strong{font-size:30px}.balance-summary p{margin-bottom:12px}}
@media(max-width:650px){#recharge .payment-channels{grid-template-columns:1fr}#recharge .payment-channel{padding:15px 16px}#recharge .channel-copy{flex:1;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.bank-transfer{padding:18px}.bank-transfer-steps{grid-template-columns:1fr;gap:16px;margin:20px 0}.bank-transfer-steps b{margin-bottom:3px}}
@media(prefers-reduced-motion:reduce){#recharge .payment-channel{transition:none}}
.payment-website{display:flex;flex-direction:column;align-items:center;gap:13px;margin:24px auto;padding:22px 14px;max-width:330px;background:#f7faff;border:1px solid #e0e9f6;border-radius:6px}
.payment-website img{width:44px;height:44px;object-fit:contain}
.payment-website h3{font-size:18px;line-height:1.5;margin:0;color:#20364f}
.payment-website p{font-size:13px;line-height:1.7;margin:0;color:#62768e}
.payment-website .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding-inline:20px}
.payment-website small{font-size:12px;line-height:1.6;color:#75879b}
.payment-website-embedded{margin:10px auto 0;padding:0;gap:12px;background:transparent;border:0}
.payment-website-brand{display:flex;align-items:center;gap:8px}
.payment-website-brand img{width:24px;height:24px}
.payment-website-brand h3{font-size:15px;font-weight:500}
.payment-official-qr{flex:none;width:266px;height:266px;max-width:100%;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:4px}
.payment-official-qr iframe{display:block;width:264px;height:264px;border:0;background:#fff}
.payment-website-embedded [data-frame-note][hidden]{display:none}

/* Customer finance workspace: compact filters, aligned ledger rows and clear states. */
.billing-orders{--orders-secondary:#596879;--orders-line:var(--line,#e5e8ed);min-width:0}
.billing-orders [hidden]{display:none!important}
.billing-orders .page-heading{margin-bottom:22px;gap:20px;align-items:center}
.billing-orders .page-heading h1{font-size:24px;line-height:1.4;letter-spacing:0}
.billing-orders .page-heading p{font-size:13px;margin-top:8px;color:var(--orders-secondary)}
.billing-orders .page-heading .actions{display:flex;gap:10px;flex-wrap:wrap}
.billing-orders .btn{font-size:13px;min-height:34px;border-radius:3px;padding:7px 14px}
.orders-workspace{background:var(--surface,#fff);border:1px solid var(--orders-line);border-radius:4px;overflow:hidden}
.orders-tabs{display:flex;gap:30px;min-height:58px;padding:0 24px;border-bottom:1px solid var(--orders-line)}
.orders-tabs>button{appearance:none;position:relative;min-height:58px;padding:0 2px;border:0;background:transparent;font:inherit;font-size:14px;color:var(--orders-secondary);cursor:pointer}
.orders-tabs>button[aria-selected=true]{color:var(--blue,#0052d9);font-weight:600}
.orders-tabs>button[aria-selected=true]:after{position:absolute;content:'';height:3px;bottom:0;left:0;right:0;background:var(--blue,#0052d9)}
.orders-tabs>button:hover{color:var(--blue,#0052d9)}
.orders-filters{display:grid;grid-template-columns:minmax(230px,1fr) 155px 145px 165px auto;align-items:end;gap:16px;padding:24px;margin:0}
.orders-filters .field{min-width:0;display:flex;flex-direction:column;gap:8px;margin:0}
.orders-filters .field>span{font-size:12px;color:var(--orders-secondary);font-weight:400}
.orders-filters input,.orders-filters select{width:100%;height:36px;min-height:36px;min-width:0;font-size:13px;border-radius:3px;padding:7px 10px;line-height:20px;background-color:var(--surface,#fff);color:var(--text)}
.orders-filters input::placeholder{color:#8893a2}
.orders-filter-actions{display:flex;align-items:center;gap:8px}
.orders-filter-actions .btn{min-height:36px;white-space:nowrap}
.orders-dates{grid-column:1/-1;display:flex;gap:12px;align-items:end}
.orders-dates>.field{width:210px}
.orders-dates>span{padding-bottom:8px;color:var(--muted)}
.orders-filters [data-filter-error]{grid-column:1/-1;font-size:13px;color:#b42318;margin:0}
.orders-list-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:2px 24px 16px;font-size:13px;color:var(--orders-secondary)}
.orders-list-heading>div{display:flex;align-items:center;gap:16px}
.orders-timezone{font-size:12px;color:var(--orders-secondary)}
.orders-list-heading .btn{padding:5px 12px;min-height:30px}
.orders-table .table-scroll{margin:0;border:0;border-radius:0}
.orders-table table{width:100%;min-width:1110px;font-size:13px;border-collapse:collapse;table-layout:auto}
.orders-table th{height:43px;background:var(--surface-soft,#f7f8fa);font-size:12px;font-weight:400;color:var(--orders-secondary);padding:12px 18px;border-block:1px solid var(--orders-line);white-space:nowrap}
.orders-table td{padding:13px 18px;border-bottom:1px solid var(--orders-line);vertical-align:middle;line-height:1.5;font-size:13px;color:var(--text)}
.orders-table td[data-column=pay_type]{white-space:nowrap}
.orders-table th:first-child,.orders-table td:first-child{padding-left:24px}
.orders-table th:last-child,.orders-table td:last-child{padding-right:24px}
.orders-table tbody tr:hover{background:var(--surface-soft,#fafbfd)}
.orders-table tbody tr:last-child td{border-bottom:0}
.orders-table th:nth-child(3),.orders-table th:nth-child(4),.orders-table td[data-column=amount],.orders-table td[data-column=real_amount]{text-align:right}
.orders-table td[data-column=state]{min-width:154px}
.orders-table td.time-cell{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.order-identity{min-width:280px;max-width:355px}
.billing-orders .order-title{border:0;background:none;padding:0;min-height:22px;margin:0 0 4px;display:block;color:var(--text);font:inherit;font-size:13px;font-weight:500;cursor:pointer;line-height:1.5}
.order-title:hover{color:var(--blue,#0052d9)}
.order-identity>div{display:flex;align-items:center;gap:8px;white-space:nowrap}
.order-number{font-size:12px;color:var(--orders-secondary);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:-.2px}
.billing-orders .order-copy{font:inherit;font-size:12px;line-height:20px;min-height:22px;border:0;background:transparent;color:var(--blue,#0052d9);padding:0 2px;cursor:pointer}
.order-money{font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}
.order-money.zero{color:var(--orders-secondary);font-weight:400}
.order-state{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:13px;font-weight:400;color:var(--text)}
.order-state i{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:currentColor}
.order-state.pending{color:#0052d9}.order-state.success{color:#00845d}.order-state.warning{color:#a65c00}.order-state.muted{color:#667385}
.order-cell-note{display:block;color:var(--orders-secondary,#596879);font-size:12px;line-height:1.5;margin-top:5px;white-space:nowrap}
.order-actions{display:flex;align-items:center;gap:12px;white-space:nowrap}
.order-actions .btn{border:0;border-radius:0;background:transparent;color:var(--blue,#0052d9);padding:4px 0;min-height:28px;box-shadow:none}
.order-actions .btn:hover,.order-copy:hover{text-decoration:underline;background:transparent}
.orders-pagination.admin-pagination{padding:18px 24px;margin:0;border-top:1px solid var(--orders-line);min-height:66px;font-size:12px;color:var(--orders-secondary)}
.orders-pagination .btn{font-size:12px;padding:5px 11px;min-height:30px}
.orders-table .empty-state{min-height:210px;padding:65px 24px;background:transparent;color:var(--orders-secondary)}
.orders-table .empty-state h3{font-size:14px;font-weight:500;color:var(--text);margin:0 0 10px}
.orders-table .empty-state p{font-size:13px;margin:0}
.orders-footnote{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--orders-secondary);margin:14px 0 0}
.orders-footnote .btn{font-size:12px;border:0;background:transparent;padding:0;min-height:28px;color:var(--blue)}
.billing-orders #orders-products-panel>.panel{border:0;border-radius:0;box-shadow:none;margin:0}
.billing-orders #orders-products-panel .panel-head{display:none}
.billing-orders #orders-products-panel .panel-body{padding:0}
.billing-orders #orders-products-panel .table-toolbar{padding:20px 24px;margin:0}
.billing-orders #orders-products-panel td,.billing-orders #orders-products-panel th{padding:16px 20px;font-size:13px}
.billing-orders #orders-products-panel .admin-pagination{padding:18px 24px;font-size:12px}
.billing-orders #orders-products-panel td[data-column=id]{font-family:ui-monospace,Consolas,monospace;font-size:12px}
.billing-orders :focus-visible,.billing-order-dialog :focus-visible{outline:2px solid var(--blue,#0052d9);outline-offset:3px}
.billing-order-dialog{width:min(760px,calc(100vw - 32px));max-width:760px;border-radius:6px}
.billing-order-dialog .dialog-head{padding:20px 24px}
.billing-order-dialog .dialog-head h2{font-size:18px;font-weight:600}
.billing-order-dialog .dialog-body{padding:24px}
.billing-order-dialog .dialog-footer{padding:16px 24px;background:var(--surface-soft,#f7f8fa)}
.billing-order-dialog .dialog-footer>div{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.order-detail-overview{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.order-detail-overview>div:first-child{flex:1;min-width:0}
.order-detail-overview .order-state{font-size:18px;font-weight:600}
.order-detail-overview .order-cell-note{display:none}
.order-detail-overview p{font-size:13px;color:var(--orders-secondary,#596879);line-height:1.8;margin:12px 0 0;max-width:450px}
.order-detail-amount{display:flex;flex-direction:column;gap:10px;align-items:flex-end;flex:none}
.order-detail-amount>span{font-size:12px;color:var(--muted)}
.order-detail-amount strong{font-size:28px;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1.2}
.order-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:22px 28px;margin:24px 0}
.order-detail-fields>div{min-width:0}
.order-detail-fields dt{font-size:12px;font-weight:400;color:var(--orders-secondary,#596879);margin-bottom:8px}
.order-detail-fields dd{font-size:13px;margin:0;overflow-wrap:anywhere;line-height:1.5;color:var(--text)}
.order-processing{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}
.order-processing h3{font-size:14px;font-weight:600;margin:0 0 18px}
.order-processing ol{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.order-processing li{border-top:2px solid #a8b5c6;padding-top:12px;min-width:0}
.order-processing li.current{border-top-color:#c07b22}.order-processing li.waiting{border-top-color:var(--line);color:var(--muted)}
.order-processing b{font-size:13px;font-weight:500}.order-processing span{display:block;font-size:12px;line-height:1.6;margin-top:8px;color:var(--orders-secondary,#596879)}
.order-processing>p{font-size:12px;color:var(--muted);display:inline-block;margin:20px 6px 0 0}
.order-processing>.btn{font-size:12px;min-height:28px;padding:4px 8px}
.order-provider-message{margin-top:22px;font-size:12px;color:var(--muted)}
.order-provider-message summary{cursor:pointer;width:fit-content}
.order-provider-message p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
.billing-order-dialog [data-order-detail-error]{font-size:13px;color:#b42318;padding-top:12px}
body[data-theme=dark] .billing-orders,body[data-theme=dark] .billing-order-dialog{--orders-secondary:#a4b1c1}
body[data-theme=dark] .order-state.pending{color:#87b5ff}body[data-theme=dark] .order-state.success{color:#71c9ac}body[data-theme=dark] .order-state.warning{color:#e2b16c}body[data-theme=dark] .order-state.muted{color:#a4b1c1}
@media(max-width:760px){
 .orders-table table,.orders-table tbody{display:block;min-width:0;width:100%}
 .orders-table thead{display:none}
 .orders-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 16px;padding:16px 18px;border-top:1px solid var(--orders-line)}
 .orders-table td,.orders-table td:first-child,.orders-table td:last-child{display:block;border:0;padding:0;min-width:0;text-align:left!important}
 .orders-table td:first-child,.orders-table td:last-child,.orders-table td.time-cell{grid-column:1/-1}
 .orders-table td[data-column=state]{min-width:0}
 .orders-table td[data-column=pay_type]:before{content:'支付方式'}
 .orders-table td[data-column=amount]:before{content:'充值金额'}
 .orders-table td[data-column=real_amount]:before{content:'实际到账'}
 .orders-table td[data-column=state]:before{content:'订单状态'}
 .orders-table td.time-cell:before{content:'创建时间'}
 .orders-table td:before{display:block;font-size:12px;color:var(--orders-secondary);margin-bottom:6px}
 .orders-table .order-identity{min-width:0;max-width:none}
 .orders-table .order-identity>div{white-space:normal;gap:8px}
 .orders-table .order-number{overflow-wrap:anywhere}
 .orders-table .order-actions{justify-content:flex-end;border-top:1px solid var(--orders-line);margin-top:6px;padding-top:6px;gap:24px}
 .billing-orders .order-copy{min-height:44px;flex:none}
 .billing-orders .order-title{min-height:32px}
}
@media(max-width:1200px){.orders-filters{grid-template-columns:minmax(200px,1fr) 145px 140px 150px;gap:14px}.orders-filter-actions{grid-column:1/-1}.orders-list-heading{padding-top:0}}
@media(max-width:760px){.billing-orders .page-heading{align-items:flex-start;flex-direction:column;gap:16px}.billing-orders .page-heading h1{font-size:22px}.orders-tabs{padding:0 18px}.orders-filters{grid-template-columns:1fr 1fr;padding:18px;gap:16px 12px}.orders-keyword{grid-column:1/-1}.orders-filters select,.orders-filters input{height:42px;min-height:42px}.orders-filter-actions{grid-column:auto;justify-content:flex-end}.orders-filter-actions .btn,.billing-orders .page-heading .btn,.orders-list-heading .btn,.orders-pagination .btn{min-height:44px}.orders-list-heading{padding:0 18px 16px}.orders-timezone{display:none}.orders-dates{flex-wrap:wrap}.orders-dates>.field{flex:1;min-width:120px}.orders-dates>span{display:none}.orders-pagination.admin-pagination{padding:16px 18px}.orders-footnote{gap:2px}.order-actions .btn,.order-copy{min-height:44px}.order-detail-overview{gap:18px;flex-direction:column}.order-detail-amount{align-items:flex-start}.order-detail-fields{gap:18px;grid-template-columns:1fr}.order-processing ol{grid-template-columns:1fr;gap:14px}.order-processing li{border-top:0;border-left:2px solid #a8b5c6;padding:0 0 0 12px}.order-processing li.current{border-left-color:#c07b22}.order-processing li.waiting{border-left-color:var(--line)}.billing-order-dialog .dialog-body{padding:20px}}
/* Customer finance center: compact account facts, recharge and auditable ledger. */
.finance-center{--orders-secondary:#596879;--orders-line:var(--line,#e4e8ef);max-width:1600px;margin:0 auto}
.finance-center .page-heading{margin-bottom:24px}.finance-center .page-heading h1{font-size:24px;font-weight:600;letter-spacing:0}
.finance-center .page-heading .btn{font-size:13px;min-height:34px;border-radius:3px;padding:7px 15px}
.finance-center .panel{border-radius:4px;box-shadow:none;margin:0;background:var(--surface,#fff)}
.finance-center .panel-head{padding:18px 24px;min-height:60px;border-bottom:1px solid var(--line)}
.finance-center h2,.finance-center .panel-head h2{font-size:15px;font-weight:600;line-height:1.5;margin:0}
.finance-overview{display:grid;grid-template-columns:minmax(280px,1fr) 1.5fr;border:1px solid var(--line);border-radius:4px;background:var(--surface,#fff);padding:28px 32px;margin-bottom:20px;gap:36px}
.finance-available{display:flex;flex-direction:column;gap:12px;border-right:1px solid var(--line);padding-right:30px}
.finance-available>span{font-size:13px;color:var(--orders-secondary)}
.finance-available>strong{font-size:36px;font-weight:500;letter-spacing:-.6px;line-height:1.2;font-variant-numeric:tabular-nums;color:var(--text)}
.finance-available>small{font-size:12px;color:var(--orders-secondary);line-height:1.7}
.finance-balance-facts{display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:16px 28px}
.finance-balance-facts>div{display:flex;flex-direction:column;gap:12px}.finance-balance-facts span{font-size:13px;color:var(--orders-secondary)}
.finance-balance-facts strong{font-size:22px;line-height:1.3;font-weight:500;font-variant-numeric:tabular-nums}
.finance-balance-facts p{grid-column:1/-1;margin:0;color:var(--orders-secondary);font-size:12px;line-height:1.7}
.finance-main{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px;margin-bottom:20px}
.finance-recharge .panel{height:100%}.finance-recharge .panel-body{padding:24px}
.finance-center #recharge .finance-amount{max-width:470px;margin-bottom:12px}
.finance-center #recharge .field>span,.finance-center #recharge .payment-channels legend{font-size:13px;font-weight:400;color:var(--text)}
.finance-center #recharge input[name=amount]{height:42px;font-size:18px;border-radius:3px;padding:10px 12px}
.finance-center #recharge .amount-options{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 24px}
.finance-center #recharge .amount-options .btn{min-height:34px;padding:6px 18px;font-size:13px;border-radius:3px}
.finance-center #recharge .amount-options .btn[aria-pressed=true]{color:var(--blue);border-color:var(--blue);background:#eef5ff}
.finance-center #recharge .payment-channels{margin-bottom:24px;gap:10px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));max-width:720px}
.finance-center #recharge .payment-channel{padding:13px 12px;gap:10px;border-radius:3px;box-shadow:none;background:var(--surface,#fff)}
.finance-center #recharge .payment-channel:has(input:checked){background:var(--surface-soft,#f5f8ff);box-shadow:inset 0 0 0 1px var(--blue)}
.finance-center #recharge .channel-mark,.finance-center #recharge .channel-mark img{width:28px;height:28px;flex-basis:28px}
.finance-center #recharge .channel-copy small{font-size:12px}.finance-center #recharge .channel-copy b{font-size:13px}
.finance-center #recharge [data-bank-transfer]{font-size:13px;max-width:720px}.finance-center #recharge [data-bank-transfer] h3{font-size:14px}
.finance-submit{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.finance-submit .btn{min-height:38px;font-size:13px;border-radius:3px;padding:8px 24px}
.finance-submit>span{font-size:12px;color:var(--orders-secondary)}
.finance-services{background:var(--surface,#fff);border:1px solid var(--line);border-radius:4px;padding:22px;min-width:0}
.finance-services>section+section{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}
.finance-services h2{margin-bottom:16px}.finance-services a:not(.btn){display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--text);text-decoration:none;padding:10px 0}
.finance-services a:not(.btn):hover b{color:var(--blue)}.finance-services a b{display:block;font-size:13px;font-weight:500}
.finance-services a small{display:block;font-size:12px;line-height:1.7;color:var(--orders-secondary);margin-top:4px}
.finance-services a>span:last-child{color:var(--orders-secondary)}.finance-help p{font-size:12px;color:var(--orders-secondary);line-height:1.8;margin:0 0 10px}
.finance-help .btn{font-size:12px;color:var(--blue);border:0;padding:6px 0;min-height:28px;background:transparent}
.finance-ledger-filters.orders-filters{grid-template-columns:200px 200px auto;padding:20px 24px 18px;align-items:end}
.finance-ledger-filters .orders-filter-actions{grid-column:auto;justify-content:flex-start}
.finance-ledger-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:0 24px 16px;font-size:12px;color:var(--orders-secondary)}
.finance-ledger-toolbar>div{display:flex;gap:8px}.finance-ledger-toolbar .btn{min-height:32px;padding:5px 12px;font-size:12px}
.finance-ledger-table .table-scroll{border:0;border-radius:0;margin:0}.finance-ledger-table table{min-width:900px;width:100%;border-collapse:collapse;font-size:13px}
.finance-ledger-table th{background:var(--surface-soft,#f7f8fa);font-weight:400;color:var(--orders-secondary);font-size:12px;border-block:1px solid var(--line);padding:13px 20px;white-space:nowrap}
.finance-ledger-table td{padding:17px 20px;font-size:13px;border-bottom:1px solid var(--line)}
.finance-ledger-table tbody tr:last-child td{border-bottom:0}.finance-ledger-table td.time-cell{white-space:nowrap;font-size:12px}
.finance-ledger-table td:nth-child(3),.finance-ledger-table td:nth-child(4),.finance-ledger-table td:nth-child(5),.finance-ledger-table th:nth-child(3),.finance-ledger-table th:nth-child(4),.finance-ledger-table th:nth-child(5){text-align:right}
.finance-ledger-money{font-variant-numeric:tabular-nums;white-space:nowrap}.finance-ledger-money.positive{color:#00845d}.finance-ledger-reference{font:12px ui-monospace,Consolas,monospace;overflow-wrap:anywhere}
.finance-ledger .admin-pagination{padding:16px 24px;font-size:12px;margin:0;border-top:1px solid var(--line)}.finance-ledger .admin-pagination .btn{min-height:32px;font-size:12px;padding:5px 11px}
.finance-ledger-note{padding:0 24px 20px;margin:0;font-size:12px;color:var(--orders-secondary)}
.finance-ledger-table .empty-state{padding:40px 24px;min-height:160px}.finance-ledger-table .empty-state h3{font-size:14px;font-weight:500}.finance-ledger-table .empty-state p{font-size:13px}
.finance-center :focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.order-refund-summary{border-top:1px solid var(--line);padding:20px 0 0}.order-refund-summary h3{font-size:14px;margin:0 0 16px;font-weight:600}
.order-refund-summary>div{display:flex;gap:48px}.order-refund-summary span{font-size:12px;color:var(--muted)}.order-refund-summary strong{display:block;color:var(--text);font-size:18px;font-weight:500;margin-top:8px;font-variant-numeric:tabular-nums}
.order-refund-summary p{font-size:12px;color:var(--muted);line-height:1.7}.order-refund-summary .btn{font-size:12px;padding:5px 0;background:transparent;border:0}
body[data-theme=dark] .finance-center{--orders-secondary:#a4b1c1}body[data-theme=dark] .finance-ledger-money.positive{color:#71c9ac}
@media(max-width:1100px){.finance-main{grid-template-columns:minmax(0,1fr) 240px}.finance-overview{grid-template-columns:1fr 1.3fr;padding:24px;gap:24px}.finance-services{padding:20px}.finance-center #recharge .payment-channels{grid-template-columns:1fr}.finance-center #recharge .channel-copy{flex-direction:row;align-items:center;gap:12px}}
@media(max-width:760px){.finance-center .page-heading{gap:16px;align-items:flex-start;flex-direction:column}.finance-center .page-heading h1{font-size:22px}.finance-center .page-heading .btn{min-height:44px}.finance-overview{grid-template-columns:1fr;padding:20px;gap:20px}.finance-available{border-right:0;border-bottom:1px solid var(--line);padding:0 0 20px}.finance-available>strong{font-size:32px}.finance-balance-facts{gap:14px}.finance-balance-facts strong{font-size:20px}.finance-main{grid-template-columns:1fr}.finance-services{display:none}.finance-center .panel-head{padding:16px 18px}.finance-recharge .panel-body{padding:20px 18px}.finance-center #recharge .payment-channel{min-height:60px}.finance-center #recharge .amount-options{gap:8px}.finance-center #recharge .amount-options .btn{padding:8px 12px;min-height:44px}.finance-submit{gap:10px}.finance-submit .btn{min-height:44px;width:100%}.finance-submit>span{font-size:12px}.finance-ledger-filters.orders-filters{padding:18px;grid-template-columns:1fr 1fr;gap:12px}.finance-ledger-filters .orders-filter-actions{grid-column:1/-1}.finance-ledger-toolbar{padding:0 18px 16px;flex-wrap:wrap}.finance-ledger-toolbar .btn,.finance-ledger .admin-pagination .btn{min-height:44px}.finance-ledger .admin-pagination{padding:16px 18px}.finance-ledger-note{padding:0 18px 18px}.finance-center .pending-payment{flex-wrap:wrap}}
