/* P04.4.1 — isolated final contract for all member deposit account cards. */
.deposit-page-body .deposit-account-canonical-v75 {
  box-sizing: border-box;
  min-height: 104px !important;
  height: 104px !important;
  margin: 0 !important;
  padding: 14px !important;
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) auto !important;
  grid-template-rows: minmax(56px, 1fr) !important;
  align-content: stretch !important;
  align-items: center !important;
  gap: 12px !important;
  overflow: hidden !important;
  border-radius: 19px !important;
}

.deposit-page-body .deposit-account-canonical-v75 :is(.deposit-account-icon,.wallet-transfer-account-icon-v52,.wallet-account-logo-v49) {
  box-sizing: border-box;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  border-radius: 16px !important;
}

.deposit-page-body .deposit-account-canonical-v75 :is(.deposit-account-icon img,.wallet-transfer-account-icon-v52 img,.wallet-account-logo-v49 img) {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain !important;
}

.deposit-page-body .deposit-account-canonical-v75 :is(.deposit-account-detail,.wallet-transfer-account-detail-v52,.wallet-account-main-v49) {
  min-width: 0 !important;
  display: grid !important;
  grid-template-rows: 14px 28px 14px !important;
  align-content: center !important;
  gap: 4px !important;
}

.deposit-page-body .deposit-account-canonical-v75 :is(.deposit-account-detail > span,.wallet-transfer-account-detail-v52 > span,.wallet-account-main-v49 > small),
.deposit-page-body .deposit-account-canonical-v75 :is(.deposit-account-detail > strong,.wallet-transfer-account-detail-v52 > strong,.wallet-account-main-v49 > strong),
.deposit-page-body .deposit-account-canonical-v75 :is(.deposit-account-detail > small,.wallet-transfer-account-detail-v52 > small,.wallet-account-main-v49 > span) {
  min-width: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.deposit-page-body .deposit-account-canonical-v75 :is(.deposit-account-detail > span,.wallet-transfer-account-detail-v52 > span,.wallet-account-main-v49 > small) {
  font-size: 11px !important;
  line-height: 1.2 !important;
}

.deposit-page-body .deposit-account-canonical-v75 :is(.deposit-account-detail > strong,.wallet-transfer-account-detail-v52 > strong,.wallet-account-main-v49 > strong) {
  font-size: 21px !important;
  line-height: 1.15 !important;
}

.deposit-page-body .deposit-account-canonical-v75 :is(.deposit-account-detail > small,.wallet-transfer-account-detail-v52 > small,.wallet-account-main-v49 > span) {
  font-size: 11px !important;
  line-height: 1.2 !important;
}

.deposit-page-body .deposit-account-canonical-v75 > :is(button,.wallet-mode-badge-v49) {
  width: 70px !important;
  min-width: 70px !important;
  height: 36px !important;
  min-height: 36px !important;
  justify-self: end !important;
  cursor: pointer !important;
}

@media (max-width: 390px) {
  .deposit-page-body .deposit-account-canonical-v75 {
    /* Keep the bank-card reference geometry on small screens too. */
    min-height: 104px !important;
    height: 104px !important;
    padding: 14px !important;
    grid-template-columns: 56px minmax(0, 1fr) auto !important;
    grid-template-rows: minmax(56px, 1fr) !important;
    gap: 12px !important;
  }
  .deposit-page-body .deposit-account-canonical-v75 :is(.deposit-account-icon,.wallet-transfer-account-icon-v52,.wallet-account-logo-v49) {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    border-radius: 16px !important;
  }
  .deposit-page-body .deposit-account-canonical-v75 :is(.deposit-account-icon img,.wallet-transfer-account-icon-v52 img,.wallet-account-logo-v49 img) { width: 42px !important; height: 42px !important; }
  .deposit-page-body .deposit-account-canonical-v75 :is(.deposit-account-detail,.wallet-transfer-account-detail-v52,.wallet-account-main-v49) { grid-template-rows: 14px 28px 14px !important; gap: 4px !important; }
  .deposit-page-body .deposit-account-canonical-v75 :is(.deposit-account-detail > span,.wallet-transfer-account-detail-v52 > span,.wallet-account-main-v49 > small),
  .deposit-page-body .deposit-account-canonical-v75 :is(.deposit-account-detail > small,.wallet-transfer-account-detail-v52 > small,.wallet-account-main-v49 > span) { font-size: 11px !important; line-height: 1.2 !important; }
  .deposit-page-body .deposit-account-canonical-v75 :is(.deposit-account-detail > strong,.wallet-transfer-account-detail-v52 > strong,.wallet-account-main-v49 > strong) { font-size: 21px !important; line-height: 1.15 !important; }
  .deposit-page-body .deposit-account-canonical-v75 > :is(button,.wallet-mode-badge-v49) { width: 70px !important; min-width: 70px !important; height: 36px !important; min-height: 36px !important; padding-inline: 10px !important; font-size: 9px !important; }
}
