/* =================================================================
   tm-sidebar-v2-host-override.css — THIN SHIM (post-consolidation)
   =================================================================
   History: this file used to be 1122 lines / 358 !important whose sole
   job was to neutralize the legacy standalone rail sidebar-panel.css
   (70px→280px hover, 75vh, fixed, per-item white fills). That sheet has
   been REMOVED from the load chain (moved to static/css/deprecated/) and
   the canonical sidebar now lives in static/css/v2/components/sidebar.css
   (loaded last via v2/v2.css).

   What remains here is ONLY the handful of overrides that must beat
   *other* legacy `!important` rules whose specificity ties or exceeds a
   single-class selector and which sidebar.css cannot cleanly win by
   source-order alone:

     • global.css `.sidebar.has-expanded { height: 650px !important }`
       — the accordion JS adds `.has-expanded` to #sidebar; without this
       the footer card is pushed and the rail grows to 650px (defect D).
     • global.css `.sidebar-nav::-webkit-scrollbar { width: 3px !important }`
       — keep the v2 rail scrollbar hidden.

   This file loads BEFORE v2/v2.css, but these two rules are 2-ID scoped
   (higher specificity than the legacy single/double-class rules) so they
   win with `!important`. Everything else is intentionally gone.
   ================================================================= */

/* Defect D — fixed full height; ignore legacy accordion "grow to 650px". */
#tmv2SidebarRoot #sidebar,
#tmv2SidebarRoot #sidebar.sidebar,
#tmv2SidebarRoot #sidebar.sidebar.has-expanded,
#tmv2SidebarRoot #sidebar.sidebar.collapsed.has-expanded {
  height: 100% !important;
  max-height: none !important;
}

/* Keep the v2 nav scrollbar hidden (beats global.css width:3px !important). */
#tmv2SidebarRoot #sidebar .sidebar-nav::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}
