/* Client details beside the clients list (2026-10-08): the whole page scrolls
   instead of the profile pane scrolling inside a window-sized box. The pane
   ends with room for the "Create New Client" dock header, so the last card sits
   just above it when scrolled to the bottom; --dock-clearance is set by the app
   shell (58px when the dock is shown, else 0). The list stays in view beside
   it: sticky under the top bar, window-tall, scrolling on its own. The pane is
   marked data-detail-pane by patches/build-revenue.mjs; the split container and
   the list are its parent and sibling. On phones the list is already hidden
   behind the profile, so only the page scroll and the clearance apply. */
div:has(> div[data-detail-pane]){height:auto!important;align-items:flex-start}
div[data-detail-pane]{overflow:visible!important;min-height:calc(100vh - var(--topbar-h) - var(--space-6));padding-bottom:calc(var(--dock-clearance,0px) + 16px)!important}
div:has(> div[data-detail-pane]) > div:not([data-detail-pane]){position:sticky;top:calc(var(--topbar-h) + var(--space-6));height:calc(100vh - var(--topbar-h) - var(--space-6));align-self:flex-start}
