.esm-wallet-core{width:min(100%,920px);margin:24px auto;padding:24px;border:1px solid #d9e2ec;border-radius:8px;background:#fff;color:#172033;box-sizing:border-box;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.esm-wallet-core *{box-sizing:border-box}
.esm-wallet-core header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.esm-wallet-core h2{margin:0 0 8px;font-size:24px;line-height:1.3;letter-spacing:0}
.esm-wallet-core p{margin:0;line-height:1.7;color:#4b5563}
.esm-wallet-badge{flex:0 0 auto;padding:7px 10px;border:1px solid #cbd5e1;border-radius:999px;background:#f8fafc;font-size:13px;font-weight:700}
.esm-wallet-status{min-height:24px;margin:12px 0;color:#334155;font-weight:600}
.esm-wallet-status[data-state=success]{color:#166534}
.esm-wallet-status[data-state=warning]{color:#92400e}
.esm-wallet-status[data-state=error]{color:#b91c1c}
.esm-wallet-connectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.esm-wallet-button,.esm-wallet-actions button,.esm-wallet-actions a{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:6px;padding:10px 14px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#17365f;font:inherit;font-weight:700;text-decoration:none;cursor:pointer;letter-spacing:0}
.esm-wallet-button{flex-direction:column}
.esm-wallet-button.primary{background:#17365f;color:#fff}
.esm-wallet-button small{font-size:11px;font-weight:500;color:#64748b}
.esm-wallet-button:hover,.esm-wallet-actions button:hover,.esm-wallet-actions a:hover{border-color:#174a91;background:#eff6ff}
.esm-wallet-button:focus-visible,.esm-wallet-actions button:focus-visible,.esm-wallet-actions a:focus-visible{outline:3px solid #60a5fa;outline-offset:2px}
.esm-wallet-button:disabled{cursor:not-allowed;opacity:.6}
.esm-wallet-core[data-busy="1"]{cursor:progress}
.esm-wallet-linked dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.esm-wallet-linked dl>div{min-width:0;padding:12px;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc}
.esm-wallet-linked dt{margin-bottom:6px;font-size:12px;color:#64748b}
.esm-wallet-linked dd{margin:0;font-weight:700;overflow-wrap:anywhere}
.esm-wallet-linked code{font-size:13px}
.esm-wallet-actions{display:flex;flex-wrap:wrap;gap:8px}
.esm-wallet-actions .danger{border-color:#fecaca;color:#b91c1c}
.esm-wallet-core [hidden]{display:none!important}
@media(max-width:640px){.esm-wallet-core{width:calc(100% - 24px);margin:16px 12px;padding:18px}.esm-wallet-core header{display:block}.esm-wallet-badge{display:inline-flex;margin-top:12px}.esm-wallet-connectors,.esm-wallet-linked dl{grid-template-columns:1fr}.esm-wallet-button,.esm-wallet-actions button,.esm-wallet-actions a{width:100%}.esm-wallet-actions{display:grid;grid-template-columns:1fr}}

.esm-wallet-setup-notice{display:grid;gap:6px;margin:0 0 16px;padding:13px 15px;border:1px solid #f0c36d;border-radius:14px;background:#fff8e6;color:#5f4200;line-height:1.55}.esm-wallet-setup-notice strong{font-size:14px;color:#4a3200}.esm-wallet-setup-notice span{font-size:13px}.esm-wallet-setup-notice a{justify-self:start;font-weight:800;color:#164e9b;text-decoration:underline;text-underline-offset:2px}
/* v85.2.12 origin-wide MetaMask request recovery */
.esm-wallet-origin-reset{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:10px 0 4px!important;padding:10px 14px!important;border:1px solid #cbd5e1!important;border-radius:10px!important;background:#fff!important;color:#0f172a!important;font-size:14px!important;font-weight:700!important;line-height:1.2!important;cursor:pointer!important}
.esm-wallet-origin-reset:hover,.esm-wallet-origin-reset:focus{border-color:#2563eb!important;color:#1d4ed8!important;outline:0!important}
.esm-wallet-origin-reset:disabled{opacity:.55!important;cursor:wait!important}
