.wallet-root{--wallet-blue:#326dd2;--wallet-muted:#6b7d95;--wallet-line:#d7e1ef;min-width:0;color:#354b68}.wallet-root *,.wallet-dialog *{box-sizing:border-box}.wallet-root h2,.wallet-root h3,.wallet-dialog h2,.wallet-dialog h3{margin:0;font-weight:570;letter-spacing:-.025em}.wallet-root p,.wallet-dialog p{margin:0}.wallet-root button,.wallet-root input,.wallet-root select,.wallet-root textarea,.wallet-dialog button,.wallet-dialog input,.wallet-dialog select,.wallet-dialog textarea{font:inherit}.wallet-root button,.wallet-dialog button{cursor:pointer}.wallet-root button:disabled,.wallet-dialog button:disabled{cursor:wait;opacity:.5}.wallet-root :focus-visible,.wallet-dialog :focus-visible{outline:3px solid #2964e7;outline-offset:3px}.wallet-note{border-radius:10px;padding:17px 20px;background:#edf3fd;color:#607b9f;font-size:12px;line-height:1.9;margin-bottom:24px}.wallet-note.is-warning{background:#f8f2e7;color:#867044}.wallet-note.is-success{background:#e9f5ed;color:#4c7d60}.wallet-overview{background:#fff;border:1px solid #dce4ef;border-radius:15px;overflow:hidden;margin-bottom:25px}.wallet-overview-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 27px 0}.wallet-overview-head h2{font-size:20px}.wallet-overview-head>span{color:#62758e;font-size:10px}.wallet-balances{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:25px;padding:27px}.wallet-balance{padding-right:20px;border-right:1px solid #e0e7f0;min-width:0}.wallet-balance:last-child{padding:0;border:0}.wallet-balance>span{font-size:12px;color:#7186a1}.wallet-balance>strong{display:block;color:#356095;font-size:33px;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:1.4;margin-top:10px;overflow-wrap:anywhere}.wallet-balance>small{display:block;font-size:11px;line-height:1.8;color:#8393a9;margin-top:6px}.wallet-overview-foot{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:17px 27px;border-top:1px solid #e0e7f0;background:#f8fafd}.wallet-overview-foot p{font-size:11px;color:#62758e;line-height:1.8;max-width:57ch}.wallet-tabs{display:flex;align-items:center;gap:8px;border-bottom:1px solid #d5dfed;padding-bottom:16px;margin:29px 0 25px;overflow:auto;scrollbar-width:none}.wallet-tab{padding:10px 15px;min-height:44px;white-space:nowrap;background:transparent;border:0;border-radius:8px;color:#62758e;font-size:12px;font-weight:550;transition:background .25s,color .25s}.wallet-tab.is-active{background:#e7eefb;color:#3866a8}.wallet-tab:hover{background:#edf2fa;color:#3866a8}.wallet-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.wallet-section-head h2{font-size:23px}.wallet-section-head p{font-size:12px;line-height:1.85;color:#62758e;max-width:58ch;margin-top:11px}.wallet-provider-strip{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;margin-top:4px;margin-bottom:24px}.wallet-provider-strip>span{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#7084a0}.wallet-provider-strip i{display:block;width:5px;height:5px;background:#a6b3c5;border-radius:50%}.wallet-provider-strip .is-ready i{background:#61a779}.wallet-provider-strip small{font-size:10px;color:#62758e}.wallet-table-wrap{border:1px solid #dce5f1;border-radius:11px;overflow:auto;background:#fff;scrollbar-width:thin;scrollbar-color:#b8c8df transparent}.wallet-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.wallet-table th{font-size:10px;font-weight:550;white-space:nowrap;color:#62758e;background:#f2f6fc;padding:15px;border-bottom:1px solid #dce5f1}.wallet-table td{padding:17px 15px;border-bottom:1px solid #e6ecf5;color:#62758e;vertical-align:middle;line-height:1.7}.wallet-table tr:last-child td{border-bottom:0}.wallet-table tbody tr:hover{background:#f8fbff}.wallet-table strong{font-weight:600;color:#3e5f8d}.wallet-table small{display:block;font-size:10px;color:#62758e;line-height:1.8;margin-top:4px}.wallet-mono{font-family:ui-monospace,Consolas,monospace;font-size:10px;overflow-wrap:anywhere}.wallet-money{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600;color:#3e618f}.wallet-money.is-positive{color:#4c8660}.wallet-money.is-negative{color:#a66c61}.wallet-badge{display:inline-flex;align-items:center;gap:6px;border-radius:13px;background:#eef2f8;color:#62758e;padding:5px 9px;font-size:10px;white-space:nowrap}.wallet-badge:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.wallet-badge.is-paid,.wallet-badge.is-succeeded,.wallet-badge.is-success,.wallet-badge.is-active{background:#e9f4ed;color:#4f8661}.wallet-badge.is-pending,.wallet-badge.is-awaiting_configuration,.wallet-badge.is-reserved{background:#f8f3e8;color:#8d784e}.wallet-badge.is-failed,.wallet-badge.is-rejected,.wallet-badge.is-blocked{background:#faeeec;color:#a46d60}.wallet-filters{display:flex;flex-wrap:wrap;gap:11px;margin-bottom:20px;align-items:flex-end}.wallet-filters label{display:block;font-size:10px;color:#62758e;min-width:105px;flex:1}.wallet-filters label>span{display:block;margin-bottom:7px}.wallet-filters input,.wallet-filters select{display:block;min-height:43px;padding:9px 12px;border:1px solid #d3deee;border-radius:8px;background:#fff;color:#4e6a90;font-size:12px;width:100%;min-width:0}.wallet-filters .admin-button{min-height:43px;flex:none;padding:10px 17px;font-size:11px}.wallet-pagination{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:19px;color:#62758e;font-size:11px;line-height:1.7}.wallet-pagination>div{display:flex;align-items:center;gap:12px}.wallet-pagination button{min-width:41px;min-height:41px;border-radius:8px;border:0;background:#eaf0fa;color:#6381aa;font-size:11px;padding:9px 13px}.wallet-empty{padding:42px 25px;background:#f0f4fa;border-radius:12px;text-align:center}.wallet-empty h3{font-size:23px;line-height:1.5;color:#536f95}.wallet-empty p{font-size:13px;line-height:1.9;color:#62758e;max-width:52ch;margin:13px auto 0}.wallet-empty>.admin-button{margin-top:22px}.wallet-loading{display:block;width:130px;height:3px;margin:23px auto 0;background:#dbe7f9;border-radius:3px;overflow:hidden}.wallet-loading:after{content:'';display:block;width:50%;height:100%;background:#8eb0e5;animation:wallet-loading 1.3s ease-in-out infinite}@keyframes wallet-loading{from{transform:translateX(-120%)}to{transform:translateX(220%)}}.wallet-row-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:56px;padding:9px 13px;border-radius:8px;background:#edf3fc;color:#547bad;font-size:11px;border:0;white-space:nowrap}.wallet-row-button:hover{background:#dfeafb}.wallet-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.wallet-limits{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-bottom:24px}.wallet-limit{padding:23px;background:#fff;border:1px solid #dce5f1;border-radius:12px;min-width:0}.wallet-limit>span{font-size:11px;color:#62758e}.wallet-limit strong{display:block;margin-top:9px;font-size:27px;font-weight:600;color:#4b6e9e;font-variant-numeric:tabular-nums}.wallet-limit p{margin-top:9px;color:#62758e;font-size:11px;line-height:1.8}.wallet-spend-limits{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.wallet-spend-limit{padding:23px;border-radius:12px;background:#edf3fb}.wallet-spend-limit-head{display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:12px;color:#6a84a6}.wallet-spend-limit-head strong{font-size:14px;color:#48719f;font-weight:600}.wallet-spend-limit>p{font-size:11px;color:#62758e;line-height:1.9;margin-top:12px}.wallet-meter{height:5px;background:#d8e4f5;border-radius:5px;margin-top:19px;overflow:hidden}.wallet-meter>i{display:block;height:100%;width:0;background:#80a9df;border-radius:5px}.wallet-account-state{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:21px 23px;background:#edf3fb;border-radius:12px;margin-bottom:22px}.wallet-account-state h3{font-size:18px}.wallet-account-state p{font-size:12px;color:#62758e;line-height:1.85;margin-top:8px}.wallet-dialog{border:0;padding:0;width:min(630px,calc(100% - 36px));max-height:calc(100dvh - 44px);background:#f9fbfe;color:#415b7e;border-radius:16px;box-shadow:0 30px 75px #1c365b2b;overflow:auto;scrollbar-width:thin;scrollbar-color:#b9cbe5 transparent}.wallet-dialog::backdrop{background:#273d5e58;backdrop-filter:blur(5px)}.wallet-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;border-bottom:1px solid #dce5f2}.wallet-dialog-head h2{font-size:24px}.wallet-dialog-head p{font-size:10px;line-height:1.8;color:#62758e;margin-top:5px;overflow-wrap:anywhere}.wallet-dialog-body{padding:26px 28px}.wallet-dialog h3{font-size:19px;line-height:1.6}.wallet-dialog-intro{color:#62758e;font-size:13px;line-height:1.9;margin-bottom:23px!important}.wallet-amount-options{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin:18px 0 20px}.wallet-amount-choice{min-height:61px;padding:12px;border:1px solid #d5e1f2;border-radius:10px;color:#6386b4;background:#fff;font-size:20px;font-weight:600;transition:background .25s,border-color .25s}.wallet-amount-choice.is-active{background:#e9f1ff;border-color:#93b5e4;color:#356db4}.wallet-field{display:block;color:#6c82a0;font-size:12px;line-height:1.8;margin:20px 0}.wallet-field>span{display:block;font-weight:600;margin-bottom:9px}.wallet-field input,.wallet-field select,.wallet-field textarea{display:block;width:100%;min-height:46px;border:1px solid #d1dff1;border-radius:9px;background:#fff;padding:11px 14px;color:#3e608e;font-size:14px;line-height:1.75;caret-color:#2964e7}.wallet-field textarea{resize:vertical}.wallet-field small{display:block;color:#62758e;font-size:11px;line-height:1.85;margin-top:7px}.wallet-provider-options{display:flex;flex-direction:column;gap:10px;margin:17px 0 20px}.wallet-provider-option{display:flex;align-items:center;gap:13px;min-height:72px;border:1px solid #d6e2f2;padding:16px;border-radius:11px;background:#fff;cursor:pointer}.wallet-provider-option:has(input:checked){border-color:#95b6e7;background:#edf4ff}.wallet-provider-option input{accent-color:#467fcd;width:17px;height:17px;flex:none}.wallet-provider-option strong{font-size:13px;font-weight:600;color:#5a7fac}.wallet-provider-option small{display:block;color:#62758e;font-size:11px;line-height:1.8;margin-top:4px}.wallet-provider-option>.wallet-badge{margin-left:auto;flex:none}.wallet-confirm-list{border-top:1px solid #dce5f2;margin:22px 0}.wallet-confirm-list>div{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;padding:16px 0;border-bottom:1px solid #dce5f2;color:#62758e;font-size:12px;line-height:1.85}.wallet-confirm-list strong{font-weight:550;text-align:right;color:#4c719f;overflow-wrap:anywhere}.wallet-confirm-list .wallet-large-amount{font-size:30px;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.wallet-consent{display:flex;align-items:flex-start;gap:11px;margin-top:21px;color:#62758e;font-size:12px;line-height:1.9;cursor:pointer}.wallet-consent input{width:17px;height:17px;margin-top:4px;accent-color:#467fcd;flex:none}.wallet-dialog-footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:11px;border-top:1px solid #dce5f2;padding:21px 28px}.wallet-dialog-footer .admin-button{font-size:12px}.wallet-dialog-footer>p{width:100%;font-size:11px;line-height:1.8;color:#62758e;margin-bottom:9px}.wallet-error{padding:13px 16px;border-radius:8px;background:#fbefed;color:#ae7a70;font-size:12px;line-height:1.85;margin-top:20px!important}.wallet-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.wallet-form-grid .wallet-field{margin:13px 0}.wallet-form-grid .is-wide{grid-column:1 / -1}.wallet-subhead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:26px 0 18px}.wallet-subhead h3{font-size:20px}.wallet-check{display:flex;align-items:center;gap:10px;font-size:12px;color:#62758e;line-height:1.8;min-height:44px;cursor:pointer}.wallet-check input{accent-color:#467fcd;width:17px;height:17px}.wallet-route-list{display:flex;flex-direction:column;gap:20px}.wallet-route{padding:25px;border-radius:13px;border:1px solid #dbe5f2;background:#fff}.wallet-route-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}.wallet-route-head h2{font-size:23px;color:#426c9f}.wallet-route-head p{font-size:11px;line-height:1.8;color:#62758e;margin-top:7px}.wallet-route-fields{display:grid;grid-template-columns:1fr 1.5fr 1fr 1fr;gap:15px}.wallet-route-fields .wallet-field{margin:0;min-width:0;font-size:11px}.wallet-route-fields input,.wallet-route-fields select{font-size:12px;padding:10px 11px;min-width:0}.wallet-route-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px}.wallet-route-readiness{color:#62758e;font-size:11px;line-height:1.9;max-width:58ch}.wallet-provider-summary{display:flex;flex-wrap:wrap;gap:12px 25px;margin-bottom:26px;color:#62758e;font-size:12px}.wallet-provider-summary>span{display:flex;align-items:center;gap:8px}.wallet-owner-customer{min-width:170px;overflow-wrap:anywhere}.wallet-owner-customer strong{display:block}.wallet-owner-customer small{max-width:25ch;overflow-wrap:anywhere}.wallet-details-code{display:block;font-family:ui-monospace,Consolas,monospace;font-size:11px;line-height:1.8;background:#edf3fd;padding:16px;border-radius:8px;overflow-wrap:anywhere;margin-top:17px}.wallet-details-note{font-size:12px;line-height:1.9;color:#62758e;margin-top:20px!important}
@media(max-width:1100px){.wallet-balances{gap:18px;padding:24px}.wallet-balance>strong{font-size:27px}.wallet-overview-head,.wallet-overview-foot{padding-inline:24px}.wallet-route-fields{grid-template-columns:1fr 1fr}.wallet-limits{gap:12px}.wallet-limit{padding:20px}.wallet-spend-limits{gap:15px}.wallet-provider-option>.wallet-badge{font-size:9px}}
@media(max-width:750px){.wallet-balances{grid-template-columns:1.1fr 1fr 1fr;gap:16px}.wallet-balance{padding-right:14px}.wallet-balance>strong{font-size:24px}.wallet-balance>span{font-size:11px}.wallet-overview-foot{align-items:flex-start}.wallet-overview-foot>.admin-button{flex:none}.wallet-limits{grid-template-columns:repeat(3,1fr)}.wallet-limit{padding:18px}.wallet-limit strong{font-size:25px}.wallet-route{padding:22px}.wallet-route-head h2{font-size:22px}.wallet-table{min-width:720px}.wallet-table-wrap::before{content:'左右滑动，查看完整记录';position:sticky;left:0;display:block;padding:10px 14px;color:#62758e;background:#f3f7fd;font-size:11px;max-width:calc(100vw - 76px);line-height:1.8;border-bottom:1px solid #dce5f2}html[data-language="en"] .wallet-table-wrap::before{content:'Swipe to view the full record'}
}
@media(max-width:480px){.wallet-overview{border-radius:12px}.wallet-overview-head{padding:21px 19px 0;align-items:flex-start;gap:13px}.wallet-overview-head h2{font-size:19px}.wallet-overview-head>span{font-size:9px;line-height:1.8;max-width:11ch;text-align:right}.wallet-balances{grid-template-columns:1fr 1fr;padding:20px 19px;gap:20px 17px}.wallet-balance:first-child{grid-column:1 / -1;border:0;padding:0 0 19px;border-bottom:1px solid #e0e7f0}.wallet-balance:first-child>strong{font-size:37px}.wallet-balance:nth-child(2){border-right:1px solid #e0e7f0}.wallet-balance>strong{font-size:26px}.wallet-balance>span{font-size:12px}.wallet-balance>small{font-size:11px;line-height:1.9}.wallet-overview-foot{display:block;padding:19px}.wallet-overview-foot p{font-size:12px;line-height:1.9}.wallet-overview-foot>.admin-button{width:100%;margin-top:17px;min-height:47px}.wallet-tabs{gap:3px;margin:24px 0 22px;padding-bottom:12px}.wallet-tab{font-size:12px;padding:10px 12px}.wallet-note{padding:16px 18px;font-size:12px}.wallet-section-head{align-items:flex-start;gap:15px}.wallet-section-head h2{font-size:22px}.wallet-section-head p{font-size:12px;line-height:1.9}.wallet-section-head>.admin-button{font-size:10px;padding:10px 13px;flex:none}.wallet-provider-strip{gap:9px 16px}.wallet-provider-strip>span{font-size:11px}.wallet-filters{gap:10px}.wallet-filters label{flex-basis:calc(50% - 10px);min-width:105px;font-size:11px}.wallet-filters input,.wallet-filters select{font-size:16px;min-height:45px;padding:9px 11px}.wallet-filters .admin-button{width:100%;min-height:45px;font-size:12px}.wallet-pagination{font-size:11px;gap:14px;flex-wrap:wrap}.wallet-pagination>div{margin-left:auto}.wallet-empty{padding:35px 21px}.wallet-empty h3{font-size:22px}.wallet-empty p{font-size:13px}.wallet-limits{grid-template-columns:1fr;gap:12px}.wallet-limit{display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px 20px;padding:20px}.wallet-limit>span{font-size:12px}.wallet-limit strong{font-size:28px;margin:0;grid-column:2;grid-row:1 / 3}.wallet-limit p{grid-column:1;grid-row:2;margin:0;font-size:11px}.wallet-spend-limits{grid-template-columns:1fr;gap:14px}.wallet-spend-limit{padding:21px}.wallet-spend-limit-head{font-size:12px}.wallet-spend-limit>p{font-size:12px;line-height:1.9}.wallet-account-state{padding:19px;display:block}.wallet-account-state>.wallet-badge{margin-top:15px}.wallet-dialog{width:100%;max-height:100dvh;border-radius:15px 15px 0 0;margin:auto 0 0}.wallet-dialog-head{padding:21px}.wallet-dialog-head h2{font-size:23px}.wallet-dialog-body{padding:23px 21px}.wallet-dialog-intro{font-size:14px}.wallet-dialog-footer{padding:19px 21px;gap:10px}.wallet-dialog-footer .admin-button{flex:1;font-size:12px;min-height:46px;padding:11px 15px}.wallet-amount-options{gap:9px}.wallet-amount-choice{font-size:21px;min-height:60px}.wallet-field{font-size:13px}.wallet-field input,.wallet-field textarea,.wallet-field select{font-size:16px}.wallet-field small{font-size:12px}.wallet-provider-option{padding:15px 13px;gap:10px;flex-wrap:wrap}.wallet-provider-option strong{font-size:14px}.wallet-provider-option small{font-size:12px}.wallet-provider-option>.wallet-badge{margin-left:27px;font-size:10px}.wallet-confirm-list>div{font-size:12px;gap:20px}.wallet-confirm-list .wallet-large-amount{font-size:29px}.wallet-consent{font-size:13px;line-height:1.9}.wallet-form-grid{gap:0 15px}.wallet-form-grid .wallet-field{font-size:12px}.wallet-route{padding:21px 18px;border-radius:12px}.wallet-route-head{align-items:flex-start;gap:15px}.wallet-route-head h2{font-size:21px;overflow-wrap:anywhere}.wallet-route-head .wallet-badge{font-size:9px}.wallet-route-fields{grid-template-columns:1fr;gap:18px}.wallet-route-fields .wallet-field{font-size:12px}.wallet-route-fields input,.wallet-route-fields select{font-size:16px;min-height:46px}.wallet-route-foot{gap:20px;flex-wrap:wrap}.wallet-route-foot>.admin-button{width:100%}.wallet-route-readiness{font-size:12px}.wallet-subhead{align-items:flex-start}.wallet-subhead h3{font-size:20px}.wallet-check{font-size:12px;line-height:1.9}.wallet-details-note{font-size:13px}.wallet-table-wrap::before{max-width:calc(100vw - 62px)}
}
@media(prefers-reduced-motion:reduce){.wallet-root *,.wallet-dialog *{transition:none!important;animation:none!important}}

.wallet-dialog,.wallet-root{overflow-wrap:break-word}.wallet-dialog button,.wallet-root button{touch-action:manipulation}.wallet-badge.is-ready{background:#e9f4ed;color:#477b59}.wallet-route-readiness{max-width:54ch}.wallet-filters label>input,.wallet-filters label>select{margin-top:7px}.wallet-loading{display:block!important}.wallet-dialog form{margin:0}.wallet-error[hidden]{display:none!important}.wallet-dialog .wallet-note{margin-bottom:0}.wallet-dialog :disabled{cursor:wait}.wallet-route .wallet-error{margin-top:18px}.wallet-route-head>div{min-width:0}.wallet-route-head h2{overflow-wrap:anywhere}

.wallet-customer-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 16px}.wallet-customer-facts div{min-width:0}.wallet-customer-facts dt{font-size:12px;color:#616b78;margin-bottom:6px}.wallet-customer-facts dd{margin:0;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.wallet-customer-links{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 24px}.wallet-customer-links button{font-size:12px}.wallet-owner-cancel{display:block;margin-top:16px}.wallet-owner-ledger{margin-top:24px}.wallet-owner-ledger h3{font-size:14px}.wallet-owner-ledger ul{list-style:none;padding:0}.wallet-owner-ledger li{display:grid;grid-template-columns:1fr auto;gap:5px 12px;padding:12px 0;border-bottom:1px solid #e5e8ed}.wallet-owner-ledger small{grid-column:1/-1;overflow-wrap:anywhere}.wallet-confirm-list strong{overflow-wrap:anywhere}@media(max-width:480px){.wallet-customer-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-customer-links button{flex:1 1 45%}}

/* Financial values stay fixed and legible; selection feedback never implies a payment result. */
.wallet-root,.wallet-dialog{--wallet-ink:#304968;--wallet-muted:#536a88;--wallet-ease:var(--relay-ease,cubic-bezier(.16,1,.3,1));--wallet-fast:var(--relay-fast,160ms);color:var(--wallet-ink);font-size:14px;line-height:1.75}
.wallet-note{font-size:13px;line-height:1.85;color:#4b6383;padding:17px 20px;border-radius:10px}
.wallet-overview{border-radius:14px;background:#fff}
.wallet-overview-head{padding:26px 29px 0;gap:20px}
.wallet-overview-head h2{font-size:22px;font-weight:650;color:#2a4263}
.wallet-overview-head>span{font-size:12px;line-height:1.8;color:#526a8a}
.wallet-balances{padding:28px 29px;gap:27px}
.wallet-balance>span{font-size:13px;color:#536b89}
.wallet-balance>strong{font-size:37px;line-height:1.3;color:#29486e;font-weight:650;margin-top:12px}
.wallet-balance>small{font-size:12px;color:#5b708a}
.wallet-overview-foot{padding:20px 29px;gap:25px;background:#f5f8fc}
.wallet-overview-foot p{font-size:13px;line-height:1.85;color:#536a86;max-width:64ch}
.wallet-tabs{gap:7px;padding:3px 3px 16px;margin:28px -3px 26px;scrollbar-width:thin;scrollbar-color:#bdcce0 transparent}
.wallet-tab{font-size:13px;min-height:44px;padding:10px 16px;border-radius:9px;font-weight:600;color:#526a88;transition:background var(--wallet-fast) ease-out,color var(--wallet-fast) ease-out,box-shadow var(--wallet-fast) ease-out}
.wallet-tab.is-active{background:#e1ebfc;color:#1f53ac}
.wallet-tab:active:not(:disabled){box-shadow:inset 0 2px 4px #1e3b6215}
.wallet-section-head{margin-bottom:23px}
.wallet-section-head>div{min-width:0}
.wallet-section-head h2{font-size:24px;line-height:1.4;font-weight:650;color:#2c4567}
.wallet-section-head p{font-size:14px;line-height:1.85;color:#536a88;margin-top:9px}
.wallet-provider-strip{gap:12px 21px;margin-bottom:26px}
.wallet-provider-strip>span{font-size:12px;color:#536a88;flex-wrap:wrap}
.wallet-provider-strip small{font-size:12px;color:#536a88}
.wallet-table-wrap{border-radius:12px;overscroll-behavior:contain}
.wallet-table{font-size:13px;line-height:1.75}
.wallet-table th{font-size:12px;color:#526984;font-weight:600;padding:15px 17px;background:#f5f7fb}
.wallet-table td{padding:18px 17px;color:#425d7e}
.wallet-table small,.wallet-mono{font-size:12px;color:#536d8b;line-height:1.8}
.wallet-table tbody tr{transition:background var(--wallet-fast) ease-out}
.wallet-table tbody tr:hover{background:#f5f9ff}
.wallet-table strong,.wallet-money{color:#2f5079;font-weight:650}
.wallet-money.is-positive{color:#2f704c}
.wallet-money.is-negative{color:#9a4138}
.wallet-badge{font-size:11px;font-weight:600;line-height:1.7;border-radius:6px;padding:4px 8px;color:#536a87}
.wallet-badge.is-paid,.wallet-badge.is-succeeded,.wallet-badge.is-success,.wallet-badge.is-active,.wallet-badge.is-ready{color:#2f704c;background:#e9f4ed}
.wallet-badge.is-pending,.wallet-badge.is-awaiting_configuration,.wallet-badge.is-reserved{color:#7b5a23;background:#fcf1dc}
.wallet-badge.is-failed,.wallet-badge.is-rejected,.wallet-badge.is-blocked{color:#9c3e35;background:#fbece9}
.wallet-filters{gap:13px;margin-bottom:23px}
.wallet-filters label{font-size:12px;color:#526984}
.wallet-filters input,.wallet-filters select{min-height:46px;font-size:14px;padding:11px 13px;border-radius:9px;color:#2f4b6f;transition:border-color var(--wallet-fast) ease-out,box-shadow var(--wallet-fast) ease-out}
.wallet-filters input:focus,.wallet-filters select:focus{border-color:#245bcd;box-shadow:0 0 0 3px #245bcd10}
.wallet-filters .admin-button{font-size:13px;min-height:46px;border-radius:9px}
.wallet-pagination,.wallet-pagination button{font-size:12px;color:#536b8a}
.wallet-pagination{margin-top:22px;gap:20px}
.wallet-pagination button{min-height:44px;min-width:44px;border-radius:8px;transition:background var(--wallet-fast) ease-out}
.wallet-empty{padding:46px 28px;border:1px solid #dce3ed;background:#fff;border-radius:14px}
.wallet-empty h3{font-size:24px;font-weight:650;color:#304d73}
.wallet-empty p{font-size:14px;line-height:1.85;color:#526a88;margin-top:12px;max-width:59ch}
.wallet-row-button{font-size:12px;min-height:40px;padding:9px 13px;color:#285dab;border-radius:8px;transition:background var(--wallet-fast) ease-out,box-shadow var(--wallet-fast) ease-out}
.wallet-row-button:active:not(:disabled){box-shadow:inset 0 2px 4px #1e3b6215}
.wallet-limits{gap:21px;margin-bottom:26px}
.wallet-limit{padding:26px;border-radius:14px}
.wallet-limit>span{font-size:13px;color:#536b88}
.wallet-limit strong{font-size:32px;color:#2e4f78;font-weight:650}
.wallet-limit p{font-size:13px;line-height:1.8;color:#536b88}
.wallet-spend-limits{gap:23px}
.wallet-spend-limit{padding:26px;border-radius:14px;background:#edf3fc}
.wallet-spend-limit-head{font-size:13px;color:#526b8b;gap:18px;flex-wrap:wrap}
.wallet-spend-limit-head strong{font-size:15px;color:#2d507d;font-weight:650}
.wallet-spend-limit>p{font-size:13px;line-height:1.85;color:#526b8b}
.wallet-meter{height:6px;background:#d4e0f3}
.wallet-meter>i{background:#4076cc}
.wallet-account-state{padding:24px 26px;border-radius:14px;gap:24px;background:#edf3fc}
.wallet-account-state h3{font-size:21px;font-weight:650;color:#2c4b74}
.wallet-account-state p{font-size:14px;line-height:1.85;color:#536b8b}
.wallet-dialog{border-radius:16px;background:#fff;max-height:calc(100dvh - 40px);overscroll-behavior:contain;scrollbar-gutter:stable}
.wallet-dialog::backdrop{backdrop-filter:none;background:#172c4c66}
.wallet-dialog-head{padding:23px 27px;position:sticky;top:0;background:#fff;z-index:2;gap:18px}
.wallet-dialog-head h2{font-size:24px;font-weight:650;line-height:1.45;color:#2b456a}
.wallet-dialog-head p{font-size:12px;color:#546d8c;line-height:1.8;margin-top:7px}
.wallet-dialog-body{padding:26px 27px}
.wallet-dialog h3{font-size:20px;color:#2f4d75;font-weight:650}
.wallet-dialog-intro{font-size:14px;line-height:1.85;color:#536b88}
.wallet-amount-options{gap:12px;margin:20px 0 23px}
.wallet-amount-choice{position:relative;min-height:66px;border-radius:11px;font-size:23px;color:#385f91;font-weight:650;transition:border-color var(--wallet-fast) ease-out,background var(--wallet-fast) ease-out,color var(--wallet-fast) ease-out,box-shadow var(--wallet-fast) ease-out}
.wallet-amount-choice:hover{background:#f2f7ff;border-color:#9eb9df}
.wallet-amount-choice.is-active{background:#eaf1ff;border-color:#245bcd;color:#194caa;box-shadow:inset 0 0 0 1px #245bcd}
.wallet-amount-choice:active:not(:disabled){background:#dbe8ff}
.wallet-field{font-size:13px;color:#486384;line-height:1.8;margin:23px 0}
.wallet-field input,.wallet-field select,.wallet-field textarea{min-height:48px;font-size:14px;color:#2d4a70;border-radius:9px;line-height:1.75;transition:border-color var(--wallet-fast) ease-out,box-shadow var(--wallet-fast) ease-out,background var(--wallet-fast) ease-out}
.wallet-field input:focus,.wallet-field select:focus,.wallet-field textarea:focus{border-color:#245bcd;box-shadow:0 0 0 3px #245bcd10}
.wallet-field input::placeholder,.wallet-field textarea::placeholder{color:#626f82;opacity:1}
.wallet-field small{font-size:12px;color:#536b88;line-height:1.85}
.wallet-provider-option{border-radius:12px;padding:18px;gap:14px;min-height:79px;transition:border-color var(--wallet-fast) ease-out,background var(--wallet-fast) ease-out,box-shadow var(--wallet-fast) ease-out}
.wallet-provider-option:hover{border-color:#a8bedf;background:#f7faff}
.wallet-provider-option:has(input:checked){background:#edf3ff;border-color:#245bcd;box-shadow:inset 0 0 0 1px #245bcd}
.wallet-provider-option:focus-within{outline:2px solid #245bcd;outline-offset:3px}
.wallet-provider-option strong{font-size:15px;color:#315985;font-weight:650}
.wallet-provider-option small{font-size:12px;color:#536b88}
.wallet-confirm-list>div{font-size:14px;line-height:1.8;padding:18px 0;color:#536b88;gap:23px}
.wallet-confirm-list strong{color:#2f5079;font-weight:600;min-width:0}
.wallet-confirm-list>div>span{max-width:43%}
.wallet-confirm-list .wallet-large-amount{font-size:33px;line-height:1.25}
.wallet-consent{font-size:13px;color:#536b88;line-height:1.85;gap:12px}
.wallet-consent input,.wallet-check input,.wallet-provider-option input{accent-color:#245bcd;width:18px;height:18px}
.wallet-dialog-footer{padding:22px 27px;gap:12px;background:#fff}
.wallet-dialog-footer .admin-button{font-size:13px;min-height:46px}
.wallet-dialog-footer>p{font-size:12px;line-height:1.85;color:#536b88}
.wallet-error{font-size:13px;line-height:1.85;color:#973d35;background:#fbece9;padding:15px 18px;border-radius:9px}
.wallet-form-grid{gap:0 23px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.wallet-form-grid>*{min-width:0}
.wallet-subhead h3{font-size:21px}
.wallet-check{font-size:13px;color:#536b88;line-height:1.85}
.wallet-route{padding:28px;border-radius:14px}
.wallet-route-head h2{font-size:25px;color:#2d4f7b;font-weight:650}
.wallet-route-head p,.wallet-route-readiness{font-size:12px;line-height:1.85;color:#536b88}
.wallet-route-fields{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);gap:18px}
.wallet-route-fields .wallet-field{font-size:13px}
.wallet-route-fields input,.wallet-route-fields select{font-size:14px;padding:11px 12px}
.wallet-provider-summary{font-size:13px;color:#536b88;gap:14px 25px}
.wallet-details-code{font-size:12px;line-height:1.9;color:#365780}
.wallet-details-note{font-size:14px;line-height:1.85;color:#536b88}
.wallet-customer-facts{gap:21px 18px;margin-bottom:20px}
.wallet-customer-facts dt{font-size:12px;color:#536b88;margin-bottom:8px}
.wallet-customer-facts dd{font-size:17px;line-height:1.5;color:#2c4b74;font-weight:650}
.wallet-customer-links{gap:10px;margin:20px 0 28px}
.wallet-customer-links button{font-size:12px;min-height:44px}
.wallet-owner-ledger h3{font-size:18px}
.wallet-owner-ledger li{padding:15px 0;font-size:13px}
.wallet-owner-ledger small{font-size:12px;color:#536b88}
@media(max-width:1100px){.wallet-balances{padding:25px;gap:22px}.wallet-balance>strong{font-size:31px}.wallet-overview-head,.wallet-overview-foot{padding-inline:25px}.wallet-route-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.wallet-limit{padding:23px}.wallet-limits{gap:15px}}
@media(max-width:750px){.wallet-balances{gap:19px}.wallet-balance>strong{font-size:29px}.wallet-limits{gap:14px}.wallet-limit{padding:21px}.wallet-limit strong{font-size:29px}.wallet-table-wrap::before{font-size:12px;color:#536b88}.wallet-route{padding:25px}.wallet-provider-option>.wallet-badge{font-size:11px}}
@media(max-width:480px){.wallet-overview-head{padding:23px 21px 0;gap:13px;flex-wrap:wrap}.wallet-overview-head h2{font-size:21px}.wallet-overview-head>span{font-size:12px;max-width:none;text-align:left;flex-basis:100%}.wallet-balances{padding:23px 21px;gap:21px 18px}.wallet-balance:first-child>strong{font-size:40px}.wallet-balance>strong{font-size:29px}.wallet-balance>span{font-size:13px}.wallet-balance>small{font-size:12px}.wallet-overview-foot{padding:21px}.wallet-overview-foot p{font-size:13px}.wallet-overview-foot>.admin-button{min-height:48px;font-size:14px}.wallet-tabs{margin-top:25px;gap:5px;padding-bottom:14px}.wallet-tab{font-size:13px;padding:10px 13px}.wallet-note{padding:16px;font-size:13px}.wallet-section-head{gap:14px;flex-wrap:wrap}.wallet-section-head h2{font-size:23px}.wallet-section-head p{font-size:13px}.wallet-section-head>.admin-button{font-size:13px;min-height:44px}.wallet-provider-strip{gap:12px 16px}.wallet-provider-strip>span{font-size:12px}.wallet-filters{gap:12px}.wallet-filters label{font-size:12px;min-width:0;flex-basis:calc(50% - 6px)}.wallet-filters input,.wallet-filters select{font-size:16px;min-height:48px;padding:11px 12px}.wallet-filters .admin-button{font-size:13px;min-height:46px}.wallet-empty{padding:35px 23px}.wallet-empty h3{font-size:23px}.wallet-empty p{font-size:14px}.wallet-row-button{font-size:12px;min-height:44px}.wallet-limits{grid-template-columns:minmax(0,1fr);gap:14px}.wallet-limit{padding:23px;grid-template-columns:minmax(0,1fr) auto;gap:9px 17px}.wallet-limit>span,.wallet-limit p{font-size:13px}.wallet-limit strong{font-size:30px;margin:0}.wallet-spend-limits{grid-template-columns:minmax(0,1fr);gap:16px}.wallet-spend-limit{padding:23px}.wallet-spend-limit-head,.wallet-spend-limit>p{font-size:13px}.wallet-account-state{padding:22px}.wallet-account-state h3{font-size:21px}.wallet-account-state p{font-size:13px}.wallet-dialog{width:100%;max-height:96dvh;border-radius:16px 16px 0 0;scrollbar-gutter:auto}.wallet-dialog-head{padding:21px;gap:15px}.wallet-dialog-head h2{font-size:23px}.wallet-dialog-head p{font-size:12px}.wallet-dialog-body{padding:24px 21px}.wallet-dialog-intro{font-size:14px}.wallet-dialog-footer{padding:21px;gap:11px}.wallet-dialog-footer .admin-button{min-height:48px;font-size:13px;padding:11px 14px}.wallet-amount-options{gap:10px}.wallet-amount-choice{min-height:64px;font-size:22px}.wallet-field{font-size:13px}.wallet-field input,.wallet-field select,.wallet-field textarea{font-size:16px;min-height:48px}.wallet-field small{font-size:12px}.wallet-provider-option{padding:17px 15px;gap:11px}.wallet-provider-option strong{font-size:15px}.wallet-provider-option small{font-size:12px}.wallet-provider-option>.wallet-badge{margin-left:29px;font-size:11px}.wallet-confirm-list>div{font-size:13px;gap:17px}.wallet-confirm-list .wallet-large-amount{font-size:31px}.wallet-consent{font-size:13px}.wallet-form-grid{gap:0 17px}.wallet-route{padding:23px 20px}.wallet-route-head h2{font-size:23px}.wallet-route-head .wallet-badge{font-size:11px}.wallet-route-fields{grid-template-columns:minmax(0,1fr);gap:20px}.wallet-route-fields .wallet-field{font-size:13px}.wallet-route-fields input,.wallet-route-fields select{font-size:16px;min-height:48px}.wallet-route-readiness{font-size:13px}.wallet-route-foot>.admin-button{min-height:46px;font-size:13px}.wallet-customer-facts{gap:18px 14px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.wallet-customer-facts dd{font-size:16px}.wallet-customer-links button{font-size:12px}.wallet-details-note{font-size:14px}}
@media(max-width:380px){.wallet-dialog-body,.wallet-dialog-head,.wallet-dialog-footer{padding-inline:19px}.wallet-dialog-head h2{font-size:22px}.wallet-form-grid{grid-template-columns:minmax(0,1fr);gap:0}.wallet-amount-options{gap:8px}.wallet-amount-choice{font-size:20px;padding:10px 8px}.wallet-customer-facts dd{font-size:15px}.wallet-provider-option{padding:16px 13px}.wallet-confirm-list>div{gap:14px}.wallet-route{padding:21px 18px}.wallet-limit{padding:21px}}
@media(prefers-reduced-motion:reduce){.wallet-root *,.wallet-dialog *{transition:none!important;animation:none!important}}
.wallet-dialog[aria-busy=true] .wallet-dialog-footer .admin-button-dark:after{content:'';width:14px;height:14px;flex:none;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:wallet-submit 700ms linear infinite}
@keyframes wallet-submit{to{transform:rotate(1turn)}}
@media(prefers-reduced-motion:reduce){.wallet-dialog[aria-busy=true] .wallet-dialog-footer .admin-button-dark:after{animation:none!important;border-right-color:currentColor;opacity:.55}}
/* Route summaries expose configuration and price before opening an edit form. */
.wallet-route-disclosure{background:#fff;border:1px solid #d9e1ec;border-radius:14px;overflow:clip}
.wallet-route-disclosure>summary{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(110px,.7fr) minmax(100px,.6fr) auto;align-items:center;gap:18px;list-style:none;cursor:pointer;padding:23px 25px;min-height:88px}
.wallet-route-disclosure>summary::-webkit-details-marker{display:none}
.wallet-route-disclosure>summary:hover{background:#f6f8fc}.wallet-route-disclosure>summary:focus-visible{outline:3px solid #275bc9;outline-offset:-4px}
.wallet-route-summary-name{min-width:0;display:grid;gap:6px}.wallet-route-summary-name>strong{font-size:18px;overflow-wrap:anywhere;color:#183454}
.wallet-route-summary-name>span,.wallet-route-summary-rates{font-size:12px;line-height:1.8;color:#526782;overflow-wrap:anywhere}
.wallet-route-summary-rates{font-variant-numeric:tabular-nums}.wallet-route-summary-status{display:grid;justify-items:start;gap:7px}
.wallet-route-summary-status>small{font-size:11px;color:#84540b}.wallet-route-summary-edit{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:12px;color:#225bc9}
.wallet-route-summary-edit svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;transition:transform .2s ease}
.wallet-route-disclosure[open]>.wallet-route-summary-edit svg,.wallet-route-disclosure[open]>summary .wallet-route-summary-edit svg{transform:rotate(180deg)}
.wallet-root .wallet-route-disclosure .wallet-route{border:0;border-top:1px solid #e0e5ee;border-radius:0;background:#fbfcfe;margin:0;padding:25px}
.wallet-route-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;flex:none}.wallet-route-actions .admin-button{min-height:44px}
.wallet-route-draft-note{margin:0 0 20px;font-size:13px;line-height:1.8;color:#765214}
.wallet-route-list [hidden],.wallet-customer-context[hidden]{display:none!important}
.wallet-customer-context{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0 20px;border-bottom:1px solid #dce3ed;margin-bottom:22px}
.wallet-customer-context>span{display:grid;gap:5px;font-size:13px;color:#526782}.wallet-customer-context code{font-size:12px;overflow-wrap:anywhere;color:#183454}
.wallet-compact .wallet-tabs{margin-top:0}.wallet-compact .wallet-record-section{min-width:0}
@media(max-width:750px){.wallet-route-disclosure>summary{grid-template-columns:minmax(0,1fr) auto;gap:13px;padding:20px}.wallet-route-summary-name{grid-column:1;grid-row:1}.wallet-route-summary-status{grid-column:2;grid-row:1;justify-items:end}.wallet-route-summary-rates{grid-column:1;grid-row:2}.wallet-route-summary-edit{grid-column:2;grid-row:2}.wallet-root .wallet-route-disclosure .wallet-route{padding:22px}.wallet-route-actions{width:100%}.wallet-route-actions .admin-button{flex:1}.wallet-customer-context{align-items:flex-start;flex-wrap:wrap}.wallet-compact .wallet-tabs{gap:3px}.wallet-compact .wallet-tab{flex:1;white-space:nowrap;padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.wallet-route-summary-edit svg{transition:none}}
.wallet-dialog [aria-invalid=true],.wallet-route [aria-invalid=true]{border-color:#b3332b!important;background:#fffaf9!important;outline-color:#b3332b}
.wallet-dialog [aria-invalid=true]:focus,.wallet-route [aria-invalid=true]:focus{outline:2px solid #efc9c4;outline-offset:1px}
.wallet-empty>.admin-button{min-height:44px;margin-top:20px}
.wallet-dialog-footer>.admin-button{white-space:normal;text-align:center;line-height:1.5}
.wallet-customer-draft{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;padding:16px 18px;margin-bottom:24px;background:#f3f6fc;border:1px solid #d9e1ec;border-radius:10px}
.wallet-customer-draft p{flex:1 1 220px;margin:0;color:#36516f;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.wallet-customer-draft .wallet-draft-conflict{flex-basis:100%;color:#8a3f1d}
.wallet-customer-draft .admin-button{min-height:44px}
.wallet-customer-draft[hidden],.wallet-customer-draft [hidden]{display:none!important}
@media(max-width:480px){.wallet-dialog{max-width:100%}}
