.bn-action-result,.bn-action-toast{box-sizing:border-box;padding:12px 16px;border:1px solid #93c5fd;border-radius:8px;background:#172d49;color:#f1f5f9;font:15px/1.5 system-ui,sans-serif;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.bn-action-result{flex-basis:100%;width:100%;margin:12px 0}.bn-action-result[data-state=success],.bn-action-toast[data-state=success]{border-color:#34d399;background:#123b32}.bn-action-result[data-state=error],.bn-action-toast[data-state=error]{border-color:#fb7185;background:#431c2a}.bn-action-result[data-state=pending]{border-style:dashed}.bn-action-toast{position:fixed;z-index:10000;right:20px;bottom:20px;width:min(460px,calc(100vw - 40px));display:flex;gap:16px;align-items:flex-start;box-shadow:0 8px 32px #0008}.bn-action-toast button{flex:none;background:transparent;border:1px solid currentColor;color:inherit;border-radius:6px;min-width:36px;min-height:36px;font-size:24px;line-height:1;cursor:pointer}.bn-action-toast button:focus-visible{outline:3px solid #f5ac28;outline-offset:3px}.bn-action-result[hidden],.bn-action-toast[hidden]{display:none!important}

.bn-transfer-panel{position:fixed;left:16px;bottom:16px;z-index:2147483000;width:min(440px,calc(100vw - 32px));max-height:45vh;overflow:auto;color:#f1f5f9;font:14px system-ui;pointer-events:none}.bn-transfer-panel section{position:relative;background:#112237;border:1px solid #42baff;border-radius:12px;padding:16px;margin-top:10px;box-shadow:0 5px 25px #0008;pointer-events:auto}.bn-transfer-panel section[data-state=error]{border-color:#f87171}.bn-transfer-panel strong{display:block;overflow-wrap:anywhere;padding-right:22px}.bn-transfer-panel progress{display:block;width:100%;height:18px;accent-color:#38bdf8;margin:12px 0}.bn-transfer-panel p{margin:8px 0;line-height:1.5}.bn-transfer-panel small{color:#c4d0e5}.bn-transfer-panel button{position:absolute;right:6px;top:6px;border:0;background:transparent;color:inherit;font:22px system-ui;cursor:pointer}[data-bn-loading="1"]::after{content:"";display:block;height:4px;max-width:100%;margin-top:9px;background:linear-gradient(90deg,transparent,#38bdf8,transparent);background-size:40% 100%;background-repeat:no-repeat;animation:bn-loading-slide 1.4s linear infinite}@keyframes bn-loading-slide{from{background-position:-60% 0}to{background-position:160% 0}}@media(prefers-reduced-motion:reduce){[data-bn-loading="1"]::after{animation:none;background:#38bdf8}}

/* Keep page-wide button rules out of notification controls. */
body .bn-action-toast>span{flex:1 1 auto;min-width:0;white-space:normal;overflow-wrap:anywhere}
body .bn-action-toast>button,body .bn-transfer-panel section>button{box-sizing:border-box;width:36px;max-width:36px;height:36px;min-width:36px;min-height:36px;padding:0;margin:0;flex:0 0 36px;display:grid;place-items:center;font:24px/1 system-ui,sans-serif;letter-spacing:normal}
body .bn-action-toast{max-height:calc(100dvh - 40px);overflow:auto}

body .bn-action-result{display:flex;align-items:flex-start;gap:12px}
body .bn-action-result>span{flex:1 1 auto;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}
body .bn-action-result>button{box-sizing:border-box;flex:0 0 32px;width:32px!important;max-width:32px;min-width:32px;min-height:32px;height:32px;margin:0!important;padding:0!important;display:grid;place-items:center;background:transparent!important;color:inherit!important;border:1px solid currentColor;border-radius:6px;font:24px/1 system-ui;letter-spacing:normal;cursor:pointer}
body .bn-action-result>button:focus-visible{outline:3px solid #f5ac28;outline-offset:3px}

/* Feedback keeps readable text even inside page panels with their own text colors. */
body .bn-action-result,body .bn-action-result>span,body .bn-action-result>button,body .bn-action-toast,body .bn-action-toast>span,body .bn-action-toast>button{color:#f8fafc!important}
