/* Extracted from public/index.html#solvearcFinalOverrideAfterAllPatchesCss. Keep load order in index.html. */
/* Keep sidebar visible while the main page scrolls, without its own scrollbar. */
  .sidebar,
  nav.sidebar {
    position: sticky !important;
    top: 0 !important;
    align-self: flex-start !important;
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
  }
  .app-body { align-items: flex-start !important; overflow: visible !important; }

  /* Remove internal scrollbars from statement reports. */
  #pg-statements,
  #pg-statements .card,
  #pg-statements .fs-panel,
  #pg-statements .stmt-table,
  #sp-is,
  #sp-bs,
  #sp-cf {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  #pg-statements .card[style] { overflow: visible !important; }

  /* Stabilize AI footer so TB Insights scroll does not trigger chat-foot style mutation flicker. */
  .chat-foot {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: sticky !important;
    bottom: 0 !important;
    z-index: 20 !important;
  }
