.wallet-panel { border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 19%, transparent); margin-block: 0 .9rem; padding: .6rem .85rem; }
.wallet-panel summary { display: flex; align-items: center; gap: .6rem; cursor: pointer; }
.wallet-panel summary svg { width: 1.1rem; height: 1.1rem; color: #2766f2; }
.wallet-panel summary span { margin-inline-start: auto; font-weight: 700; }
.wallet-panel summary::after { content: '+'; margin-inline-start: auto; }
.wallet-panel[open] summary::after { content: '−'; }
.wallet-panel summary:has(span)::after { margin-inline-start: .4rem; }
.wallet-panel .wallet-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .4rem 1rem;
    margin-block-start: .35rem;
}
.wallet-panel .wallet-body p { margin: 0; font-size: .875rem; }
.wallet-panel .wallet-body form { display: block; margin: 0; max-inline-size: 100%; }
.wallet-panel .wallet-form {
    display: grid;
    grid-template-columns: minmax(0, 9rem) auto;
    align-items: end;
    gap: .45rem;
}
.wallet-panel .wallet-form label {
    display: grid;
    gap: .15rem;
    margin: 0;
    min-width: 0;
    font-size: .78rem;
    line-height: 1.2;
}
.wallet-panel .wallet-form input,
.wallet-panel .wallet-form button {
    box-sizing: border-box;
    min-height: 2.25rem;
    margin: 0;
    padding: .35rem .6rem;
    font-size: .85rem;
    line-height: 1.2;
}
.wallet-panel .wallet-form input { width: 100%; min-width: 0; }
.wallet-panel .wallet-form button { width: auto; max-width: 100%; }
@media (max-width: 540px) {
    .wallet-panel .wallet-body form { flex: 1 0 100%; }
    .wallet-panel .wallet-form { grid-template-columns: minmax(0, 1fr) auto; }
}
.wallet-choice { padding-block: .7rem; display: block; }
.wallet-choice input { width: auto; accent-color: #0054e9; }
