.funds-domain,.funds-dialog{--funds-ink:#202525;--funds-muted:#6d7777;--funds-line:#e8ebeb;--funds-teal:#00a997;--funds-teal-dark:#007e71;--funds-soft:#f6f7f7;--funds-note:#eff8f6;color:var(--funds-ink)}
.funds-panel{background:#fff;border:1px solid var(--funds-line);border-radius:12px;padding:28px;margin-bottom:24px;min-width:0}
.funds-panel-head,.funds-ledger-head,.funds-actions,.funds-query-actions,.funds-dialog-head,.funds-dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}
.funds-panel-head{margin-bottom:24px}.funds-panel-head h2,.funds-dialog-head h2{font-size:21px;margin:0;font-weight:650}.funds-panel h3,.funds-dialog h3{font-size:16px;margin:0 0 18px}.funds-actions{justify-content:flex-end;gap:12px}
.funds-button{font:inherit;font-size:14px;font-weight:550;cursor:pointer;border:1px solid transparent;border-radius:6px;padding:11px 24px;background:var(--funds-soft);color:var(--funds-ink);line-height:1.45;transition:background-color .15s,border-color .15s}
.funds-button:hover:not(:disabled){background:#edf2f1}.funds-button:focus-visible,.funds-domain input:focus-visible,.funds-domain select:focus-visible,.funds-dialog input:focus-visible{outline:3px solid #90dbcd;outline-offset:3px}.funds-button:disabled{cursor:not-allowed;color:#a4abab;background:#f7f8f8}
.funds-primary{background:var(--funds-teal);color:#fff;min-width:108px}.funds-primary:hover:not(:disabled){background:var(--funds-teal-dark)}.funds-outline{background:#fff;border-color:#92cfc5;color:var(--funds-teal-dark)}.funds-link{padding:8px 0;background:transparent;color:#58768c}.funds-link:hover:not(:disabled){background:transparent;color:var(--funds-teal-dark)}
.funds-balances{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr) 20px minmax(0,1fr);align-items:stretch;gap:13px}.funds-balance{border:1px solid var(--funds-line);border-radius:8px;padding:23px;min-height:155px}.funds-balance>span{display:block;font-size:14px;color:var(--funds-muted)}.funds-balance strong{display:block;font-size:29px;font-weight:650;letter-spacing:-.03em;margin:15px 0 18px;font-variant-numeric:tabular-nums}.funds-balance>div{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;color:var(--funds-muted)}.funds-balance small{font-size:12px;color:var(--funds-muted)}.funds-equation{align-self:center;text-align:center;font-size:26px;color:#a3aaaa}
.funds-disabled-wrap{position:relative;display:inline-flex}.funds-tooltip,.funds-help [role=tooltip]{position:absolute;z-index:6;display:none;max-width:290px;min-width:210px;padding:10px 12px;background:#253735;color:white;font-size:12px;font-weight:400;border-radius:5px;line-height:1.65;bottom:calc(100% + 8px);right:0;box-shadow:0 4px 16px #132c2726}.funds-disabled-wrap:hover .funds-tooltip,.funds-disabled-wrap:focus .funds-tooltip,.funds-help:hover [role=tooltip],.funds-help:focus [role=tooltip]{display:block}.funds-help{position:relative;display:inline-flex;border:1px solid #aeb9b7;width:14px;height:14px;border-radius:50%;align-items:center;justify-content:center;font-size:10px;cursor:help}.funds-help [role=tooltip]{left:0;right:auto}
.funds-ledger-head{align-items:flex-start;border-bottom:1px solid var(--funds-line);gap:18px}.funds-tabs{display:flex;gap:26px;flex-wrap:wrap}.funds-tab{background:transparent;padding:4px 0 19px;border-radius:0;font-size:17px;font-weight:500;border-bottom:3px solid transparent}.funds-tab.is-active{border-bottom-color:var(--funds-ink);font-weight:650}.funds-tab:hover:not(:disabled){background:transparent}.funds-date-note{font-size:12px;color:var(--funds-muted);margin:16px 0}
.funds-query-form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:25px 0}.funds-filter{display:flex;align-items:center;border:1px solid #dce1e0;border-radius:6px;min-width:170px;min-height:44px;flex:1 1 170px}.funds-filter>span{font-size:13px;color:var(--funds-muted);white-space:nowrap;padding:0 10px;border-right:1px solid var(--funds-line)}.funds-filter select{background:transparent;border:0;min-width:0;width:100%;padding:10px;font:inherit;font-size:13px;color:var(--funds-ink)}
.funds-dates{display:flex;align-items:center;gap:8px;margin:0;padding:4px 10px 8px;border:1px solid #dce1e0;border-radius:6px;flex:1 1 320px;min-width:280px}.funds-dates legend{font-size:12px;color:var(--funds-muted);padding:0 5px}.funds-dates label{flex:1;min-width:0}.funds-dates input{border:0;background:transparent;font:inherit;font-size:13px;padding:3px;min-width:0;width:100%;color:var(--funds-ink)}.funds-dates>span{font-size:12px;color:var(--funds-muted)}.funds-query-actions{gap:16px;padding-bottom:1px}
.funds-table-scroll{overflow:auto;border-radius:4px;max-width:100%}.funds-table{border-collapse:collapse;width:100%;font-size:13px;min-width:740px}.funds-table th{background:#f7f8f8;color:#727b7b;font-weight:500;text-align:left;padding:17px 14px;white-space:nowrap}.funds-table td{padding:18px 14px;border-bottom:1px solid var(--funds-line);font-variant-numeric:tabular-nums;white-space:nowrap}.funds-table tfoot td{font-weight:650}.funds-table .funds-empty{height:270px;text-align:center;color:#a4aaaa;font-size:14px}.funds-footnote{font-size:12px;line-height:1.65;color:var(--funds-muted);margin:17px 0 0}.funds-help-links{display:flex;gap:22px;justify-content:flex-end;margin-top:16px}
.funds-practice-panel{border:1px dashed #acd4cb;border-radius:7px;background:var(--funds-note);padding:18px;margin-top:22px;font-size:13px;line-height:1.65}.funds-practice-panel>strong{color:var(--funds-teal-dark);font-size:13px}.funds-practice-panel p{color:var(--funds-muted);margin:6px 0 14px}.funds-pending-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:12px;border-top:1px solid #d8e9e5;margin-top:8px}.funds-invoice-note{padding:16px;background:var(--funds-soft);border-radius:6px;font-size:14px;line-height:1.7;color:var(--funds-muted)}.funds-unavailable-controls{display:flex;gap:18px;align-items:flex-end;margin:24px 0;flex-wrap:wrap}.funds-unavailable-controls label{font-size:12px;color:var(--funds-muted)}.funds-unavailable-controls select{display:block;margin-top:8px;max-width:100%;padding:10px;border:1px solid var(--funds-line);border-radius:5px;font:inherit;color:#8a9593;background:#f7f8f8}
.sb-dialog.funds-dialog{width:min(880px,calc(100vw - 40px));max-width:880px;padding:0;max-height:calc(100dvh - 44px);overflow:auto;border-radius:12px;background:white}.funds-dialog-head{padding:26px 30px 20px}.funds-close{padding:0 6px;background:transparent;font-size:30px;color:#8a9492;font-weight:300}.funds-dialog-body{padding:0 30px 24px}.funds-dialog-actions{padding:20px 30px;background:#fff;border-top:1px solid var(--funds-line);justify-content:flex-end;position:sticky;bottom:0}.funds-dialog-actions .funds-footnote{margin:0 auto 0 0}.funds-methods{display:flex;gap:10px;margin-bottom:22px}.funds-method{background:#fff;border:1px solid var(--funds-line);padding:12px 20px}.funds-method.is-selected{background:#f1f3f3;font-weight:650}.funds-amount-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 22px}.funds-amount{padding:24px 12px;background:var(--funds-soft);font-size:19px;font-variant-numeric:tabular-nums}.funds-amount.is-selected{border-color:#9eddd3;background:#f0faf7}.funds-amount-input{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:14px;margin:16px 0 24px}.funds-amount-input small{font-size:12px;color:var(--funds-muted)}.funds-input-money{display:flex;align-items:center;border:1px solid #dce2e0;border-radius:5px;padding-left:12px;max-width:210px}.funds-input-money input{border:0;padding:10px;width:170px;max-width:100%;font:inherit;background:transparent;color:var(--funds-ink)}
.funds-notice{margin-top:24px;font-size:13px;line-height:1.85;color:var(--funds-muted)}.funds-notice h3{color:var(--funds-ink);margin-bottom:12px}.funds-notice ol{padding-left:20px;margin:0}.funds-notice li{margin-bottom:9px}.funds-transfer-box{background:var(--funds-soft);border-radius:8px;padding:22px;margin:14px 0}.funds-transfer-box .funds-panel-head{margin-bottom:15px;align-items:flex-start}.funds-transfer-box h3{margin-bottom:0}.funds-transfer-box dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:14px 12px;font-size:14px;margin:20px 0 0}.funds-transfer-box dt{color:var(--funds-muted)}.funds-transfer-box dd{margin:0;overflow-wrap:anywhere}.funds-demo-account small{display:block;color:var(--funds-muted);font-size:12px;margin-top:6px}.funds-check{display:flex;align-items:flex-start;gap:9px;font-size:13px}.funds-check input{margin-top:4px;accent-color:var(--funds-teal)}.funds-wechat{display:flex;gap:14px;border:1px solid #bce0d6;border-radius:7px;padding:18px;align-items:center}.funds-wechat-icon{color:var(--funds-teal-dark)}.funds-wechat p{margin:4px 0 0;color:var(--funds-muted);font-size:12px}.funds-account-choice{display:flex;align-items:center;gap:20px;margin-top:15px;font-size:13px}.funds-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:1100px){.funds-panel{padding:22px}.funds-balance{padding:17px}.funds-balance strong{font-size:25px}.funds-balances{gap:8px;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr) 12px minmax(0,1fr)}.funds-tabs{gap:18px}.funds-tab{font-size:16px}}
@media(max-width:700px){.funds-panel{padding:18px;margin-bottom:16px}.funds-balances{grid-template-columns:1fr}.funds-balance{min-height:105px}.funds-equation{display:none}.funds-balance strong{margin:8px 0}.funds-panel-head{gap:10px;flex-wrap:wrap}.funds-actions{gap:8px}.funds-button{padding:9px 17px}.funds-ledger-head{flex-wrap:wrap}.funds-tabs{gap:15px}.funds-tab{padding:3px 0 13px;font-size:14px}.funds-dates{min-width:220px}.funds-query-form{gap:10px}.funds-query-actions{margin-left:auto}.funds-dialog-head,.funds-dialog-body{padding-left:20px;padding-right:20px}.funds-dialog-actions{padding:15px 20px;flex-wrap:wrap;gap:8px}.funds-dialog-actions .funds-footnote{width:100%;font-size:11px}.funds-methods{gap:7px}.funds-method{padding:10px 13px;font-size:13px}.funds-amount{font-size:16px;padding:19px 8px}.funds-amount-grid{gap:8px}.funds-transfer-box{padding:17px}.funds-transfer-box dl{grid-template-columns:65px 1fr;font-size:13px}.funds-transfer-box .funds-panel-head{display:block}.funds-pending-row{align-items:flex-start;flex-wrap:wrap}.funds-table .funds-empty{height:190px}.funds-help-links{justify-content:flex-start}.funds-tooltip{right:auto;left:0}}
@media(prefers-reduced-motion:reduce){.funds-button{transition:none}}
