.balance-editor { width:min(460px,calc(100vw - 32px)); max-height:calc(100vh - 48px); overflow:auto; background:#141824; color:#e8ebf5; border:1px solid #353c51; border-radius:18px; padding:26px; box-shadow:0 24px 90px #0009; font:14px/1.6 "Segoe UI","Microsoft YaHei",sans-serif; }
.balance-editor::backdrop { background:#05070caa; backdrop-filter:blur(6px); }
.balance-editor h2 { margin:0 0 8px; font-size:19px; }
.balance-editor p { margin:6px 0 16px; }
.balance-editor .balance-account { color:#9aa3bb; overflow-wrap:anywhere; }
.balance-editor label { display:block; margin:14px 0 6px; color:#bac1d6; }
.balance-editor input, .balance-editor textarea { display:block; box-sizing:border-box; width:100%; background:#0f121a; color:#e8ebf5; border:1px solid #353c51; border-radius:9px; padding:10px 12px; font:inherit; }
.balance-editor textarea { min-height:84px; resize:vertical; }
.balance-editor .balance-preview { color:#a9a0ff; font-size:12px; margin-top:12px; }
.balance-editor .balance-error { color:#ff8290; font-size:13px; }
.balance-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:20px; }
.balance-editor button { border:1px solid #353c51; border-radius:9px; background:transparent; color:#e8ebf5; padding:8px 15px; font:inherit; cursor:pointer; }
.balance-editor button.balance-save { background:#8173ee; border-color:#8173ee; }
.balance-editor button:disabled { opacity:.5; cursor:wait; }
.balance-editor :focus-visible { outline:2px solid #a399ff; outline-offset:3px; }
