/* Give the portfolio assets area more room in the wallet surface. */
:root {
  --wallet-width: 480px;
  --extension-width: min(100%, 760px);
}

body,
html,
#station,
#do-wallet {
  min-height: min(760px, 100vh);
}

.Dashboard_detailGrid__yCKlR .Dashboard_tableWrap__ITau0 {
  max-height: clamp(620px, calc(100vh - 220px), 900px) !important;
  overflow: auto !important;
}

.Dashboard_detailGrid__yCKlR > .Dashboard_sectionCard__ZtA75 {
  min-height: min(900px, calc(100vh - 140px));
}

.Wallet_wallet__YvO6D {
  width: min(var(--wallet-width), 100vw) !important;
}

@media (max-width: 700px) {
  body,
  html,
  #station,
  #do-wallet {
    min-height: 100vh;
  }

  .Dashboard_detailGrid__yCKlR .Dashboard_tableWrap__ITau0 {
    max-height: clamp(520px, calc(100vh - 180px), 760px) !important;
  }

  .Dashboard_detailGrid__yCKlR > .Dashboard_sectionCard__ZtA75 {
    min-height: 0;
  }
}
