/* Shared company-detail popup (static/company_detail.js). Reuses the leads
   modal chrome (.modal-overlay / .modal-card--wide / .leads-card / .leads-body
   / .pnl-section …); only the stacking + a couple of header niceties are new.

   It layers OVER the listing modal that opened it (SKU drill-down, sales
   closes/cancelled/transfers, UW quotes, stalled) — every one of those uses
   .modal-overlay at z-index 120, so this must sit above them and its backdrop
   above theirs. Closing it (Esc / ✕ / backdrop) returns to that list. */
#company-detail-modal { z-index: 200; }

/* Keep the header "Open in BigBrother" button on one line with the close ✕. */
#company-detail-modal .cd-bb-link {
  text-decoration: none;
  white-space: nowrap;
}
