/* Shared panel density, including the separate CRM shell.
   Use normal zoom (never "reset") so browser zoom remains available.
   Viewport-height layouts compensate for the smaller CSS coordinate scale. */
@media screen and (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  html.compact-workspace { zoom: .8; }
  .compact-workspace body:has(.portal-sidebar) .workspace {
    min-height: calc(125dvh - 72px);
  }
  .compact-workspace body.workspace-shell .workspace { min-height: 125dvh; }
  .compact-workspace body:has(.setup-design-header) .workspace { min-height: calc(125dvh - 76px); }
  .compact-workspace .app-layout { min-height: calc(125dvh - 88px); }
  .compact-workspace .app-sidebar { height: calc(125dvh - 88px); }
  .compact-workspace .sales-drawer { height:125dvh; max-height:125dvh; }
}
