/* v25.47: compact the gap below the shared header without changing desktop layout.
   Historical marker retained: padding-top: 2.25rem was the previous value. */
.stock-page .hero {
  padding-top: .75rem;
}

.stock-grid-controls {
  top: 0;
}

/* The shared header is static; the stock controls own the sticky behavior. */
.stock-grid-controls {
  scroll-margin-top: .75rem;
}

/* v25.116 final-layer drawer rules override earlier compact-profile assets. */
.company-drawer { z-index: 250; }
.drawer-panel { top: 0; bottom: auto; height: 100dvh; max-height: 100dvh; overflow: hidden; }
.drawer-scroll { min-height: 0; overflow-y: auto; padding-bottom: max(.8rem, env(safe-area-inset-bottom)); }
@media (max-width: 700px) {
  .drawer-panel { width: 100%; }
  .drawer-close { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .company-chart { min-height: 230px; }
  .company-chart svg { height: 210px; }
}
