.wallet-page { max-width: 820px; margin: 0 auto; padding: 24px 18px 80px; }
.wallet-heading, .wallet-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.wallet-heading { justify-content: space-between; }
.wallet-card { margin: 20px 0; padding: 22px; }
.wallet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wallet-grid strong { display: block; font-size: 1.7rem; overflow-wrap: anywhere; }
.wallet-page p { line-height: 1.7; }
.wallet-page textarea { width: 100%; box-sizing: border-box; resize: vertical; margin-top: 8px; }
.wallet-page button, .wallet-actions a { min-height: 44px; }
.wallet-grid > div { min-width: 0; }
#walletHistoryQuery, #walletHistoryDirection { width: 100%; min-height: 44px; box-sizing: border-box; }
.wallet-page [hidden] { display: none !important; }
.wallet-history article { border-top: 1px solid var(--line); padding: 14px 0; }
.wallet-history p, #walletAssets p, #walletObserved { overflow-wrap: anywhere; }
.wallet-safety { padding: 4px 8px; }
@media(max-width: 440px) { .wallet-grid { grid-template-columns: 1fr; } .wallet-card { padding: 16px; } }
