/* Wallet results expand in the page; the public index keeps its own scroll area. */
body.xrbc-institutional #main-content #healthWrap.xrbc-token-window {
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  overscroll-behavior:auto!important;
}
body.xrbc-institutional #main-content #market-overview .liq-table-shell.xrbc-token-window {
  height:auto!important;
  min-height:0!important;
  max-height:min(680px,65vh)!important;
  max-height:min(680px,65svh)!important;
  overflow:auto!important;
  overscroll-behavior:auto!important;
  scrollbar-gutter:stable;
  scrollbar-width:auto;
  scrollbar-color:#79a9d3 #132231;
}
body.xrbc-institutional #market-overview .liq-table-shell.xrbc-token-window::-webkit-scrollbar {width:16px;height:16px}
body.xrbc-institutional #market-overview .liq-table-shell.xrbc-token-window::-webkit-scrollbar-track {background:#132231}
body.xrbc-institutional #market-overview .liq-table-shell.xrbc-token-window::-webkit-scrollbar-thumb {background:#79a9d3;border:3px solid #132231;border-radius:12px;min-height:48px}
body.xrbc-institutional .xrbc-token-row-collapsed {display:none!important}
body.xrbc-institutional #main-content .xrbc-token-window-expand {background:transparent!important;border:0!important;padding:4px!important;min-height:40px!important;font:inherit!important;font-size:12px!important;color:var(--ui-link,#90baff)!important;text-decoration:underline;cursor:pointer}
body.xrbc-institutional #main-content .xrbc-token-window-expand[hidden] {display:none!important}
html {scrollbar-width:auto;scrollbar-color:#79a9d3 #132231}
html::-webkit-scrollbar {width:16px;height:16px}
html::-webkit-scrollbar-track {background:#132231}
html::-webkit-scrollbar-thumb {background:#79a9d3;border:3px solid #132231;border-radius:12px;min-height:48px}
body.xrbc-institutional .xrbc-token-window-tools {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px 20px;
  flex-wrap:wrap;
  margin:12px 0 8px;
  color:var(--ui-muted,#a9bad0);
  font-size:12px;
  line-height:1.6;
}
body.xrbc-institutional .xrbc-token-window-tools[hidden] {display:none!important}
body.xrbc-institutional .xrbc-token-window-tools a {
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:var(--ui-link,#90baff);
  font-size:12px;
  font-weight:650;
  text-decoration:underline;
  text-underline-offset:3px;
}
body.xrbc-institutional .xrbc-token-window:focus-visible,
body.xrbc-institutional .xrbc-token-window-tools a:focus-visible {
  outline:2px solid var(--ui-link,#90baff);
  outline-offset:3px;
}
body.xrbc-institutional #market-overview .xrbc-token-pagination {
  position:static!important;
  margin-top:8px;
  border:1px solid var(--ui-line,#304055);
  border-radius:10px;
  background:var(--ui-panel,#101b29);
}
body.xrbc-institutional #market-research {scroll-margin-top:22px}
@media(max-width:900px) {
  /* The shared top navigation replaced the retired bottom navigation. */
  body.xrbc-institutional.xrbc-has-unified-sidebar:has(#xrbc-terminal) {
    padding-bottom:env(safe-area-inset-bottom,0px)!important;
  }
  body.xrbc-institutional #main-content #healthWrap.xrbc-token-window {
    max-height:none!important;
  }
  body.xrbc-institutional .xrbc-token-window-tools {align-items:flex-start;gap:4px}
  body.xrbc-institutional .xrbc-token-window-tools a {min-height:44px}
  body.xrbc-institutional #market-research {scroll-margin-top:82px}
}
