/* DS2 - troca BrSwap (ds2-brswap.js). Painel proprio para nao colidir com as folhas da E5/L3. */
.bsw{position:fixed;inset:0;z-index:60;background:var(--bg,#0b0b0f);color:var(--text,#f2f2f5);overflow:auto;
  padding:calc(env(safe-area-inset-top,0px) + 12px) 16px calc(env(safe-area-inset-bottom,0px) + 24px)}
.bsw[hidden]{display:none}
.bsw-top{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.bsw-top h2{margin:0;font-size:1.125rem}
.bsw-b{max-width:480px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.bsw-chips{display:flex;gap:8px;flex-wrap:wrap}
.bsw-chips .chip{min-height:44px;padding:0 14px;border-radius:999px;border:1px solid var(--line,#2a2a33);background:transparent;color:inherit;font-size:16px}
.bsw-chips .chip.on{border-color:var(--accent,#f7931a)}
.bsw-rv{margin:0;display:flex;flex-direction:column;gap:8px}
.bsw-rv div{display:flex;justify-content:space-between;gap:12px}
.bsw-rv dt{opacity:.75}.bsw-rv dd{margin:0;text-align:right}
.bsw-rv .tot{border-top:1px solid var(--line,#2a2a33);padding-top:8px;font-weight:600}
.bsw-msg{margin:0}.bsw-msg.bad{color:var(--danger,#ff6b6b)}
.bsw input{font-size:16px}
.bsw-spin{width:28px;height:28px;margin:16px auto;border-radius:50%;border:3px solid var(--line,#2a2a33);border-top-color:var(--accent,#f7931a);animation:bsw-r 1s linear infinite}
@keyframes bsw-r{to{transform:rotate(360deg)}}
/* folha do PIN da carteira (texto vem do liquid-seed.js) */
.bsw-seed { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.55); padding: 0 0 env(safe-area-inset-bottom); }
.bsw-seed-card { width: 100%; max-width: 480px; background: var(--ds2-surface, #15171c); color: var(--ds2-text, #f3f4f6); border-radius: 18px 18px 0 0; padding: 22px 18px 20px; }
.bsw-seed-card h2 { font-size: 18px; margin: 0 0 6px; }
.bsw-seed-card .sub { font-size: 14px; opacity: .8; margin-bottom: 14px; }
.bsw-seed-card .field { margin-bottom: 12px; }
.bsw-seed-card label { display: block; font-size: 13px; margin-bottom: 6px; opacity: .85; }
.bsw-seed-card input { width: 100%; box-sizing: border-box; font-size: 16px; padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: inherit; }
.bsw-seed-card .btn { display: block; width: 100%; min-height: 48px; font-size: 16px; border-radius: 14px; border: 0; cursor: pointer; }
.bsw-seed-card .btn-primary { background: var(--ds2-accent, #f7931a); color: #111; font-weight: 600; }
.bsw-seed-card .btn-ghost { background: transparent; color: inherit; border: 1px solid rgba(255,255,255,.18); }
