/* Financial controls share the portal's clarity channel and stable ring surfaces. */
.wallet-panel{margin-block:18px;padding:clamp(22px,3vw,38px)}
.wallet-balance{display:grid;gap:10px;position:relative;overflow:visible}
.wallet-balance .eyebrow{margin:0}.wallet-amount{font-size:clamp(44px,6vw,76px);font-weight:500;letter-spacing:-.055em;line-height:1.08;color:var(--text,#efeff1)}
.wallet-balance-detail{margin-top:12px;font-size:14px;color:var(--muted,#a9a9b1)}
.wallet-preview{font-size:11px;letter-spacing:.13em;color:var(--muted,#a9a9b1);margin:0 0 22px}
.wallet-filter{max-width:540px;margin-block:18px}.wallet-orders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.wallet-orders .wallet-panel{margin:0}
.wallet-order-top{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:22px}.wallet-price{font-size:25px;font-weight:500;white-space:nowrap}
.wallet-orders h3{font-size:clamp(22px,2.5vw,32px);letter-spacing:-.035em;line-height:1.15;margin:0 0 16px}
.wallet-progress{display:flex;flex-wrap:wrap;gap:10px 20px;margin:24px 0;font-size:12px;color:var(--muted,#96969e)}
.wallet-progress span{display:flex;align-items:center;gap:7px}.wallet-progress span:before{content:'';width:6px;height:6px;border:1px solid currentColor;border-radius:50%}.wallet-progress [data-complete=true]{color:var(--text,#efeff1)}.wallet-progress [data-complete=true]:before{background:currentColor}
.wallet-reference{font-size:11px;overflow-wrap:anywhere;color:var(--muted,#96969e)}.wallet-entry strong{white-space:nowrap;font-size:18px}.wallet-entry h4{font-size:16px;margin:0}
.wallet-dialog{width:min(660px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:clamp(24px,4vw,44px);overflow-y:auto}.wallet-dialog h2{font-size:clamp(30px,4vw,44px);letter-spacing:-.04em;line-height:1.1;margin:20px 0}
.wallet-dialog form{display:grid;gap:18px;margin-top:24px}.wallet-dialog label,.wallet-filter label{display:grid;gap:9px;font-size:14px;color:var(--muted,#b4b4bc)}
.wallet-dialog :is(input,select,textarea),.wallet-filter select{width:100%;min-height:48px;font:inherit;font-size:16px;color:var(--text,#efeff1);background:var(--surface-field,rgba(255,255,255,.025));border:1px solid var(--line,rgba(255,255,255,.16));border-radius:10px;padding:12px 14px}.wallet-dialog textarea{min-height:120px;resize:vertical}
.wallet-dialog .project-check{display:flex;align-items:flex-start;gap:12px;line-height:1.5}.wallet-dialog input[type=checkbox]{min-height:20px;width:20px;flex:0 0 20px;margin-top:2px}
.wallet-presets{display:flex;flex-wrap:wrap;gap:10px}.wallet-presets button{min-height:44px;padding:10px 18px}.wallet-checkout{margin-top:24px}.wallet-checkout>.text-link{display:block;min-height:44px;margin-top:12px}.wallet-checkout .button{margin-top:20px}
@media(max-width:900px){.wallet-orders{grid-template-columns:1fr}.wallet-order-top{flex-wrap:wrap}.wallet-dialog{max-height:calc(100dvh - 24px);width:calc(100vw - 24px)}}
@media(prefers-reduced-motion:reduce){.wallet-progress *{transition:none}}

.portal-page .wallet-dialog form label{margin-bottom:0}.portal-page .wallet-dialog :is(input:not([type=checkbox]),select,textarea){font-size:16px}
.portal-page .wallet-dialog .wallet-presets .button{width:auto;flex:1 1 100px}.portal-page .wallet-dialog form .project-check{display:flex}
